PHPackages                             dvi/collection - 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. dvi/collection

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dvi/collection
==============

Collect - Illuminate Collections as a separate package.

5.7.91(7y ago)1621MITPHPPHP ^7.1.3

Since May 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/DaviMenezes/collection)[ Packagist](https://packagist.org/packages/dvi/collection)[ RSS](/packages/dvi-collection/feed)WikiDiscussions laravel-5.7-ongoing Synced 2mo ago

READMEChangelog (1)Dependencies (4)Versions (98)Used By (1)

[![Travis Status for tightenco/collect](https://camo.githubusercontent.com/e8c851f000b00d6282157a05f057db47ff7866d1d5a6417ff9895132cb5748f7/68747470733a2f2f7472617669732d63692e6f72672f7469676874656e636f2f636f6c6c6563742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tightenco/collect)

[![](https://raw.githubusercontent.com/tightenco/collect/master/collect-logo.png)](https://raw.githubusercontent.com/tightenco/collect/master/collect-logo.png)

Collect - Illuminate Collections
================================

[](#collect---illuminate-collections)

Import [Laravel's Collections](https://laravel.com/docs/collections) into non-Laravel packages easily, without needing to require the entire `Illuminate\Support` package. ([Why not pull `Illuminate\Support` in framework-agnostic packages](https://yuloh.github.io/2016/dont-use-illuminate-support/))

Written by Taylor Otwell as a part of Laravel's [Illuminate/Support](https://github.com/illuminate/support) package, Collect is just the code from Support needed in order to use Collections on their own.

Lovingly split by Matt Stauffer for [Tighten Co.](https://tighten.co/), with a kick in the butt to finally do it from [@assertchris](https://github.com/assertchris).

Installation
------------

[](#installation)

With [Composer](https://getcomposer.org):

```
composer require tightenco/collect
```

FAQ
---

[](#faq)

- **Will this develop independently from Illuminate's Collections?**
    No. Right now it's split manually, but the goal is for it shortly to be split automatically to keep it in sync with Laravel's Collections, even mirroring the release numbers.
- **Why is the package `tightenco/collect` instead of `illuminate/collect`?**
    It's not an official Laravel package so we don't want to use the Packagist namespace reserved by Laravel packages. One day `Collection` may be extracted from `illuminate/support` to a new package. If so, we'll deprecate this package and point to the core version.
- **Why not just use an array?**
    What a great question. [Tighten alum Adam Wathan has a book about that.](https://adamwathan.me/refactoring-to-collections/)

License
-------

[](#license)

The Laravel framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT). Collect consists almost entirely of Laravel source code, so maintains the same license.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 55.3% 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 ~11 days

Recently: every ~47 days

Total

95

Last Release

2584d ago

PHP version history (5 changes)v5.2.31PHP &gt;=5.5.9

v5.3.23PHP &gt;=5.6.4

v5.5.2PHP &gt;=7.0

v5.6.0PHP &gt;=7.1.3

v5.6.34PHP ^7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d39677c258fbf37ae5170eae3a51c8728ee97b6f1b982c4c1ad59487d8a6004?d=identicon)[DaviMenezes](/maintainers/DaviMenezes)

---

Top Contributors

[![mattstauffer](https://avatars.githubusercontent.com/u/151829?v=4)](https://github.com/mattstauffer "mattstauffer (114 commits)")[![besologic](https://avatars.githubusercontent.com/u/122173?v=4)](https://github.com/besologic "besologic (45 commits)")[![antonioribeiro](https://avatars.githubusercontent.com/u/3182864?v=4)](https://github.com/antonioribeiro "antonioribeiro (23 commits)")[![damiani](https://avatars.githubusercontent.com/u/357312?v=4)](https://github.com/damiani "damiani (10 commits)")[![DaviMenezes](https://avatars.githubusercontent.com/u/3998868?v=4)](https://github.com/DaviMenezes "DaviMenezes (4 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (3 commits)")[![aaemnnosttv](https://avatars.githubusercontent.com/u/1621608?v=4)](https://github.com/aaemnnosttv "aaemnnosttv (1 commits)")[![svenluijten](https://avatars.githubusercontent.com/u/11269635?v=4)](https://github.com/svenluijten "svenluijten (1 commits)")[![bkintanar](https://avatars.githubusercontent.com/u/685928?v=4)](https://github.com/bkintanar "bkintanar (1 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (1 commits)")[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (1 commits)")[![radmen](https://avatars.githubusercontent.com/u/1190255?v=4)](https://github.com/radmen "radmen (1 commits)")[![redgluten](https://avatars.githubusercontent.com/u/7190090?v=4)](https://github.com/redgluten "redgluten (1 commits)")

---

Tags

laravelcollection

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dvi-collection/health.svg)

```
[![Health](https://phpackages.com/badges/dvi-collection/health.svg)](https://phpackages.com/packages/dvi-collection)
```

###  Alternatives

[pragmarx/ia-collection

Laravel Illuminate Agnostic Collection

473.4M2](/packages/pragmarx-ia-collection)[pragmarx/coollection

Laravel Illuminate collection with objectified properties

943.4M11](/packages/pragmarx-coollection)[armincms/json

A Laravel Nova field.

25149.4k3](/packages/armincms-json)[lazerg/laravel-enum-pro

A powerful PHP enum extension with collection support, random selection, and magic static calls

4319.0k](/packages/lazerg-laravel-enum-pro)[werxe/laravel-collection-macros

Custom Laravel Collection macros.

2625.8k](/packages/werxe-laravel-collection-macros)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2516.7k](/packages/iteks-laravel-enum)

PHPackages © 2026

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