PHPackages                             lindowx/collect - 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. lindowx/collect

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

lindowx/collect
===============

Collect - Illuminate Collections as a separate package.

v8.34.0(5y ago)030MITPHP ^7.2|^8.0

Since May 2Pushed 4y agoCompare

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

READMEChangelogDependencies (4)Versions (255)Used By (0)

[![Travis Status for tightenco/collect](https://camo.githubusercontent.com/43a13f9e378bdcfffdce48ed3ca46e3f87cb87250048d65882295002585339c2/68747470733a2f2f7472617669732d63692e6f72672f7469676874656e636f2f636f6c6c6563742e7376673f6272616e63683d6c61726176656c2d362d6f6e676f696e67)](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

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

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

Recently: every ~29 days

Total

244

Last Release

1868d ago

Major Versions

v6.18.7 → v7.4.02020-03-31

v6.18.10 → v7.8.12020-04-29

v6.18.16 → v7.10.32020-05-08

v6.18.34 → v7.21.02020-08-21

v7.26.1 → v8.0.02020-09-08

PHP version history (7 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

v8.14.0PHP ^7.2

v8.16.0PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/bea17e6343c2ac098e6858936a6ab96944c7126ba056504af10d59a022e40ba5?d=identicon)[lindowx](/maintainers/lindowx)

---

Top Contributors

[![mattstauffer](https://avatars.githubusercontent.com/u/151829?v=4)](https://github.com/mattstauffer "mattstauffer (96 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)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (3 commits)")[![lindowx](https://avatars.githubusercontent.com/u/320970?v=4)](https://github.com/lindowx "lindowx (2 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/lindowx-collect/health.svg)

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

###  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)
