PHPackages                             softonic/laravel-collection-extended - 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. softonic/laravel-collection-extended

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

softonic/laravel-collection-extended
====================================

Additional collection methods.

5.0.0(4mo ago)155.1k↓49.1%Apache-2.0PHPPHP &gt;=8.5CI passing

Since Aug 31Pushed 4mo ago6 watchersCompare

[ Source](https://github.com/softonic/laravel-collection-extended)[ Packagist](https://packagist.org/packages/softonic/laravel-collection-extended)[ Docs](https://github.com/softonic/laravel-collection-extended)[ RSS](/packages/softonic-laravel-collection-extended/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (15)Used By (0)

Laravel Collection Extended
===========================

[](#laravel-collection-extended)

[![Latest Version](https://camo.githubusercontent.com/56b073d0b5542f101c40c825477920dd709a3392bde81b09bfd9ba5dc9b57f2f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f736f66746f6e69632f6c61726176656c2d636f6c6c656374696f6e2d657874656e6465642e7376673f7374796c653d666c61742d737175617265)](https://github.com/softonic/laravel-collection-extended/releases)[![Software License](https://camo.githubusercontent.com/36cfc741510e076bec951c1421a2b1c3a5553e953fcdb378339626a5f33c1e8d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322e302d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/edac55c26c246bd121e6b36877153cf249d85ccc83ca486d11023dd4d86e2920/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f66746f6e69632f6c61726176656c2d636f6c6c656374696f6e2d657874656e6465642f74657374732e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://github.com/softonic/laravel-collection-extended/actions)[![Coverage Status](https://camo.githubusercontent.com/46c208a1f86d0be3653f9f35edba14b4d0426a28fde4a5928d3a48c97bf569a8/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f736f66746f6e69632f6c61726176656c2d636f6c6c656374696f6e2d657874656e6465642e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/softonic/laravel-collection-extended/code-structure)[![Quality Score](https://camo.githubusercontent.com/45df84801cf4f8209564f3582556795095cdc2e6e99707ae28fbccd082f0f6b5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f736f66746f6e69632f6c61726176656c2d636f6c6c656374696f6e2d657874656e6465642e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/softonic/laravel-collection-extended)[![Total Downloads](https://camo.githubusercontent.com/c347780f3659785c618bc535c9b788aa4506b8dea6f21c526984339a9ae01f03/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f66746f6e69632f6c61726176656c2d636f6c6c656374696f6e2d657874656e6465642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/softonic/laravel-collection-extended)[![Average time to resolve an issue](https://camo.githubusercontent.com/0a6f38461c7e6e0a6f11fbf38140ec827df0975f698a42f9a5bc4cfad7198e78/687474703a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f7265736f6c7574696f6e2f736f66746f6e69632f6c61726176656c2d636f6c6c656374696f6e2d657874656e6465642e7376673f7374796c653d666c61742d737175617265)](http://isitmaintained.com/project/softonic/laravel-collection-extended "Average time to resolve an issue")[![Percentage of issues still open](https://camo.githubusercontent.com/edea05a7e932093096a3207dc986ba4dffd8a3dfd8e128a48ddb3c1091268b03/687474703a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f6f70656e2f736f66746f6e69632f6c61726176656c2d636f6c6c656374696f6e2d657874656e6465642e7376673f7374796c653d666c61742d737175617265)](http://isitmaintained.com/project/softonic/laravel-collection-extended "Percentage of issues still open")

This package adds new methods to Laravel collections.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.5
- Laravel 12.x

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

[](#installation)

To install, use composer:

```
composer require softonic/laravel-collection-extended

```

Usage
-----

[](#usage)

Check source code for documentation.

Testing
-------

[](#testing)

`softonic/laravel-collection-extended` has a [PHPUnit](https://phpunit.de) test suite and a coding style compliance test suite using [PHP CS Fixer](https://cs.symfony.com/).

To run the tests, run the following command from the project folder:

```
$ docker compose run --rm test
```

To run PHPUnit only:

```
$ docker compose run --rm phpunit
```

To check code style:

```
$ docker compose run --rm php composer run phpcs
```

To fix code style issues:

```
$ docker compose run --rm fixcs
```

License
-------

[](#license)

The Apache 2.0 license. Please see [LICENSE](LICENSE) for more information.

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance77

Regular maintenance activity

Popularity30

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~244 days

Recently: every ~299 days

Total

12

Last Release

126d ago

Major Versions

1.2.0 → 2.0.02019-10-25

2.0.1 → 3.0.02020-11-02

3.2.1 → 4.0.02025-01-16

4.0.0 → 5.0.02026-01-12

PHP version history (5 changes)1.0.0PHP &gt;=7.1

2.0.0PHP &gt;=7.2

3.0.0PHP &gt;=7.3

4.0.0PHP &gt;=8.2

5.0.0PHP &gt;=8.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/524887?v=4)[Joskfg](/maintainers/Joskfg)[@joskfg](https://github.com/joskfg)

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

---

Top Contributors

[![xaviapa](https://avatars.githubusercontent.com/u/8439057?v=4)](https://github.com/xaviapa "xaviapa (7 commits)")[![joskfg](https://avatars.githubusercontent.com/u/524887?v=4)](https://github.com/joskfg "joskfg (4 commits)")[![josemanuel-cardona](https://avatars.githubusercontent.com/u/196229448?v=4)](https://github.com/josemanuel-cardona "josemanuel-cardona (2 commits)")[![Serginyu](https://avatars.githubusercontent.com/u/22319383?v=4)](https://github.com/Serginyu "Serginyu (2 commits)")[![Lotykun](https://avatars.githubusercontent.com/u/9845202?v=4)](https://github.com/Lotykun "Lotykun (1 commits)")[![Lotykun-Softonic](https://avatars.githubusercontent.com/u/130476160?v=4)](https://github.com/Lotykun-Softonic "Lotykun-Softonic (1 commits)")

---

Tags

laravelextracollection

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/softonic-laravel-collection-extended/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[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)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[prologue/support

Prologue Support is an extension for Illuminate Support

1616.8k](/packages/prologue-support)

PHPackages © 2026

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