swisnl / illuminate-collections
Metapackage to import illuminate/collections, with fallback to illuminate/support for older PHP/Laravel versions.
Installs: 51 720
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:metapackage
Requires
- illuminate/collections: ^9.0
This package is auto-updated.
Last update: 2022-08-22 14:52:39 UTC
README
🚨 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.
Install
Via Composer
$ composer require swisnl/illuminate-collections
Usage
Simply use Illuminate\Support\Collection
as you normally would!
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email security@swis.nl instead of using the issue tracker.
Credits
License
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 ❤️ Open Source
SWIS is a web agency from Leiden, the Netherlands. We love working with open source software.