PHPackages                             swisnl/illuminate-collections - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. swisnl/illuminate-collections

Abandoned → [illuminate/collections](/?search=illuminate%2Fcollections)ArchivedMetapackage[Utility &amp; Helpers](/categories/utility)

swisnl/illuminate-collections
=============================

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

9.0.0(4y ago)055.3k↓16.7%1MIT

Since Nov 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/swisnl/illuminate-collections)[ Packagist](https://packagist.org/packages/swisnl/illuminate-collections)[ Docs](https://github.com/swisnl/illuminate-collections)[ RSS](/packages/swisnl-illuminate-collections/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (16)Used By (1)

illuminate-collections
======================

[](#illuminate-collections)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c08fad99699da5cf683029a608d266e5f1e13e784c1edccf784a3bdaa01245ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737769736e6c2f696c6c756d696e6174652d636f6c6c656374696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/swisnl/illuminate-collections)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Buy us a tree](https://camo.githubusercontent.com/910e097fe46a40add8f3484705ecbc26dc047df84b2fef027405f47408023d76/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54726565776172652d2546302539462538432542332d6c69676874677265656e3f7374796c653d666c61742d737175617265)](https://plant.treeware.earth/swisnl/illuminate-collections)[![Total Downloads](https://camo.githubusercontent.com/b5fdbf289c6918b2632fba889edc592eefda87b654f4881bfab3d72944870e7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f737769736e6c2f696c6c756d696e6174652d636f6c6c656374696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/swisnl/illuminate-collections)[![Made by SWIS](https://camo.githubusercontent.com/ef6bdd6ab8d4f47bceb74dcf558b0915c6b419cbba320096324af0518e43091d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539412538302d6d6164652532306279253230535749532d2532333037333741392e7376673f7374796c653d666c61742d737175617265)](https://www.swis.nl)

🚨 Deprecated: The Laravel team has dropped support for Laravel &lt; 8, making this package obsolete. Please directly use [illuminate/collections](https://packagist.org/packages/illuminate/collections) instead. 🚨
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-deprecated-the-laravel-team-has-dropped-support-for-laravel--8-making-this-package-obsolete-please-directly-use-illuminatecollections-instead-)

Import [Laravel's Collections](https://laravel.com/docs/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](https://mattallan.org/posts/dont-use-illuminate-support/))

It just installs [illuminate/support](https://packagist.org/packages/illuminate/support) on PHP &lt; 7.3 or Laravel &lt; 8 and [illuminate/collections](https://packagist.org/packages/illuminate/collections) on PHP &gt;= 7.3 or Laravel &gt;= 8 and uses the same major versioning.

Install
-------

[](#install)

Via Composer

```
$ composer require swisnl/illuminate-collections
```

Usage
-----

[](#usage)

Simply use `Illuminate\Support\Collection` as you normally would!

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Jasper Zonneveld](https://github.com/JaZo)
- [All Contributors](../../contributors)
- [All Laravel Contributors](https://github.com/illuminate/collections/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

This package is [Treeware](https://treeware.earth). If you use it in production, then we ask that you [**buy the world a tree**](https://plant.treeware.earth/swisnl/illuminate-collections) 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-heart-open-source)

[SWIS](https://www.swis.nl) is a web agency from Leiden, the Netherlands. We love working with open source software.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~62 days

Recently: every ~108 days

Total

8

Last Release

1583d ago

Major Versions

5.8.0 → 6.0.02020-11-06

6.0.0 → 7.0.02020-11-06

7.0.0 → 8.0.02020-11-06

8.0.0 → 9.0.02022-01-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8734305?v=4)[SWIS](/maintainers/swisnl)[@swisnl](https://github.com/swisnl)

---

Top Contributors

[![JaZo](https://avatars.githubusercontent.com/u/3475007?v=4)](https://github.com/JaZo "JaZo (15 commits)")

---

Tags

hacktoberfestcollectionsilluminateswisnl

### Embed Badge

![Health badge](/badges/swisnl-illuminate-collections/health.svg)

```
[![Health](https://phpackages.com/badges/swisnl-illuminate-collections/health.svg)](https://phpackages.com/packages/swisnl-illuminate-collections)
```

###  Alternatives

[doctrine/collections

PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.

6.0k411.1M1.2k](/packages/doctrine-collections)[dusank/knapsack

Collection library for PHP

5351.0M25](/packages/dusank-knapsack)[qaribou/immutable.php

Immutable, highly-performant collections, well-suited for functional programming and memory-intensive applications.

344146.0k](/packages/qaribou-immutablephp)[swisnl/filament-backgrounds

Beautiful backgrounds for Filament auth pages

54149.2k6](/packages/swisnl-filament-backgrounds)[lampager/lampager-laravel

Rapid pagination for Laravel

7641.4k](/packages/lampager-lampager-laravel)[mindtwo/native-enum

Package for using native php enums.

2626.0k1](/packages/mindtwo-native-enum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
