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

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

boraguler/ia-collection
=======================

Laravel Illuminate Agnostic Collection

v1.0.0(1y ago)081MITPHPPHP &gt;=7.0

Since Mar 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/boraguler/ia-collection)[ Packagist](https://packagist.org/packages/boraguler/ia-collection)[ Docs](https://github.com/antonioribeiro/ia-collection)[ RSS](/packages/boraguler-ia-collection/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (1)

IlluminateAgnostic \\ Collection
================================

[](#illuminateagnostic--collection)

 [![Latest Stable Version](https://camo.githubusercontent.com/354a4a24c2f4e16b1cb8d043c556ddcd35b44c415e108cacc48f7d69c6d80b43/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707261676d6172782f69612d636f6c6c656374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pragmarx/ia-collection) [![License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE) [![Code Quality](https://camo.githubusercontent.com/50ed4b1bb3dce13a96390fc53ff4a972275b6a007b95dd1368bc7eab8133c0ef/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f616e746f6e696f7269626569726f2f69612d636f6c6c656374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/antonioribeiro/ia-collection/?branch=master) [![Build](https://camo.githubusercontent.com/ed429f78663cfe95157893839cd74bfabd436af7153a5b7971bd86020b2c4cc0/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f616e746f6e696f7269626569726f2f69612d636f6c6c656374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/antonioribeiro/ia-collection) [![Downloads](https://camo.githubusercontent.com/34e59f59f7f45b444096b69b1999d72c978138fc05081ed028764414e8a4e1af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707261676d6172782f69612d636f6c6c656374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pragmarx/ia-collection)

 [![Coverage](https://camo.githubusercontent.com/f8240a02ed6325e357bdb4bbb57c5bd3c24c7c81f41be3c96c287cc849a53435/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f616e746f6e696f7269626569726f2f69612d636f6c6c656374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/antonioribeiro/ia-collection/?branch=master) [![StyleCI](https://camo.githubusercontent.com/d76dbacd07e03384b7276afa39753ea7e879c6ebbccf3af66941e7fa6d5496f1/68747470733a2f2f7374796c6563692e696f2f7265706f732f3131393630353738382f736869656c64)](https://styleci.io/repos/119605788) [![PHP](https://camo.githubusercontent.com/5ba5918c23b3078d4ed1bc9c4c6dc152f1e279639ceb34b7e1940bc9645e0fc2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d372e302532302d2d253230372e332d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/antonioribeiro/ia-collection)

This package is an **unmodified** extraction of the [Laravel's Illuminate\\Support\\Collection](https://github.com/laravel/framework/blob/5.5/src/Illuminate/Support/Collection.php) class, including all helpers, repackaged to be agnostic and available to any PHP project.

It has its own namespace **(IlluminateAgnostic\\Collection)**, so you can use it even on Laravel apps without risking a namespace conflict.

For docs, please check the Laravel documentation: .

Install
-------

[](#install)

Via Composer

```
$ composer require pragmarx/ia-collection
```

Usage
-----

[](#usage)

```
use IlluminateAgnostic\Collection\Support\Collection;

return (new Collection([1, 2, 3, 4, 5]))->sum()

// or

return collect([1, 2, 3, 4, 5])->sum()
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

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)

- [Antonio Carlos Ribeiro](https://twitter.com/iantonioribeiro)

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance45

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 88.4% 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

Unknown

Total

1

Last Release

424d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a10f5dbdf1d5426faba8ad475664b44d056951002dec3b2c30ba521becd1f01?d=identicon)[boraguler](/maintainers/boraguler)

---

Top Contributors

[![antonioribeiro](https://avatars.githubusercontent.com/u/3182864?v=4)](https://github.com/antonioribeiro "antonioribeiro (38 commits)")[![boraguler](https://avatars.githubusercontent.com/u/22474910?v=4)](https://github.com/boraguler "boraguler (2 commits)")[![asbiin](https://avatars.githubusercontent.com/u/25419741?v=4)](https://github.com/asbiin "asbiin (1 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")[![vienzent](https://avatars.githubusercontent.com/u/8840637?v=4)](https://github.com/vienzent "vienzent (1 commits)")

---

Tags

laravelhelperscollectionpragmarx

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[pragmarx/ia-collection

Laravel Illuminate Agnostic Collection

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

Laravel Illuminate Agnostic Arr

553.6M12](/packages/pragmarx-ia-arr)[pragmarx/ia-str

Laravel Illuminate Agnostic Str

523.5M5](/packages/pragmarx-ia-str)[pragmarx/coollection

Laravel Illuminate collection with objectified properties

943.4M11](/packages/pragmarx-coollection)[illuminated/helper-functions

Laravel-specific and pure PHP Helper Functions.

107586.6k7](/packages/illuminated-helper-functions)

PHPackages © 2026

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