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

Abandoned → [tightenco/collect](/?search=tightenco%2Fcollect)Library[Utility &amp; Helpers](/categories/utility)

feo-cz/collect
==============

Collect - Illuminate Collections as a separate package.

5.8.27(6y ago)05.3k↓100%MITPHPPHP ^7.1.3

Since May 2Pushed 6y agoCompare

[ Source](https://github.com/feo-cz/collect)[ Packagist](https://packagist.org/packages/feo-cz/collect)[ RSS](/packages/feo-cz-collect/feed)WikiDiscussions laravel-5.8-ongoing Synced today

READMEChangelog (1)Dependencies (4)Versions (147)Used By (0)

[![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://mattallan.org/posts/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
```

Development
-----------

[](#development)

If you are a developer working on Collect and you're tasked with upgrading it to mirror a new version of Laravel, run `./upgrade.sh` from the root directory. You can pass a parameter to target a specific Laravel version (e.g. `./upgrade.sh 5.7.10`) or, if you don't pass a parameter, the script will find the latest tagged release and run against that.

The upgrader will pull down the appropriate source and test files for the specified version of Laravel and then run the tests.

```
./upgrade.sh
# or
./upgrade.sh 5.7.10
```

> The upgrade script requires the use of `wget`. It's recommended to install [homebrew](https://brew.sh), and run `brew install wget`

Testing
-------

[](#testing)

**Due to a [dependency on Carbon](https://github.com/tightenco/collect/commit/4afe1fcb40f1c10e399730562c2c7ca36c6fba01), tests won't pass until you've run `./upgrade.sh` at least once locally.**

```
vendor/bin/phpunit
```

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

Popularity18

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

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

Total

141

Last Release

2468d 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/2feca7cd46f60632a66d01e3f635adbe4c114a1d43fa6b34ddf31529f42677e4?d=identicon)[mattstauffer](/maintainers/mattstauffer)

---

Top Contributors

[![mattstauffer](https://avatars.githubusercontent.com/u/151829?v=4)](https://github.com/mattstauffer "mattstauffer (129 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)")[![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)")[![svenluijten](https://avatars.githubusercontent.com/u/11269635?v=4)](https://github.com/svenluijten "svenluijten (1 commits)")[![aaemnnosttv](https://avatars.githubusercontent.com/u/1621608?v=4)](https://github.com/aaemnnosttv "aaemnnosttv (1 commits)")[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (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)")[![kapersoft](https://avatars.githubusercontent.com/u/13007854?v=4)](https://github.com/kapersoft "kapersoft (1 commits)")[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (1 commits)")

---

Tags

laravelcollection

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/feo-cz-collect/health.svg)

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

###  Alternatives

[pragmarx/ia-collection

Laravel Illuminate Agnostic Collection

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

Laravel Illuminate collection with objectified properties

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

A Laravel Nova field.

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

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

4318.7k](/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.

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

PHPackages © 2026

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