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

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

mohamedahmed00/ia-collection
============================

Laravel Illuminate Agnostic Collection

02PHP

Since Sep 24Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#illuminateagnostic--collection)

 [![Latest Stable Version](https://camo.githubusercontent.com/c25dee2a5ca7431a47c3c552a9db12126aaa55812acc8736ae75a382a7048865/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f68616d656461686d656430302f69612d636f6c6c656374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mohamedahmed00/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/10339ddb631b512366e7b33f7a2d62d058b000744d347101a556b199a80e47ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f68616d656461686d656430302f69612d636f6c6c656374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mohamedahmed00/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 mohamedahmed00/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

14

—

LowBetter than 2% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/095ee77df4acbc191a1f199c7c2cf07162249480b459bb839193dccb7915793e?d=identicon)[engmohamedahmed00](/maintainers/engmohamedahmed00)

---

Top Contributors

[![antonioribeiro](https://avatars.githubusercontent.com/u/3182864?v=4)](https://github.com/antonioribeiro "antonioribeiro (37 commits)")[![mohamedAhmed00](https://avatars.githubusercontent.com/u/17501169?v=4)](https://github.com/mohamedAhmed00 "mohamedAhmed00 (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)")

### Embed Badge

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

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

###  Alternatives

[prggmr/xpspl

Signals for PHP

911.3k](/packages/prggmr-xpspl)

PHPackages © 2026

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