swisnl/illuminate-collections

This package is abandoned and no longer maintained. The author suggests using the illuminate/collections package instead.

Metapackage to import illuminate/collections, with fallback to illuminate/support for older PHP/Laravel versions.

9.0.0 2022-01-11 15:26 UTC

README

Latest Version on Packagist Software License Buy us a tree Total Downloads Made by SWIS

🚨 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.