🚨 Deprecated: The Laravel team has dropped support for Laravel < 8, making this package obsolete. Please directly use illuminate/collections instead. 🚨
Import Laravel's Collections into non-Laravel packages easily, without needing to require the entire illuminate\support
package, while also supporting older PHP/Laravel versions. (Why not pull illuminate\support
in framework-agnostic packages)
It just installs illuminate/support on PHP < 7.3 or Laravel < 8 and illuminate/collections on PHP >= 7.3 or Laravel >= 8 and uses the same major versioning.
Via Composer
$ composer require swisnl/illuminate-collections
Simply use Illuminate\Support\Collection
as you normally would!
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email security@swis.nl instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
SWIS is a web agency from Leiden, the Netherlands. We love working with open source software.