softonic/laravel-collection-extended
Laravel Collection Extended
This package adds new methods to Laravel collections.
Requirements
- PHP >= 8.5
- Laravel 12.x
Installation
To install, use composer:
composer require softonic/laravel-collection-extended
Usage
Check source code for documentation.
Testing
softonic/laravel-collection-extended has a PHPUnit test suite and a coding style compliance test suite using PHP CS Fixer.
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
The Apache 2.0 license. Please see LICENSE for more information.
Related Packages
typicms/nestablecollection
A Laravel Package that extends Collection to handle unlimited nested items follo...
350,143
88
jcrowe/type-safe-collection
A thin wrapper around Illuminate/Collection that allows for enforcing type const...
9,222
4
webfactorybulgaria/nestablecollection
A Laravel Package that extends Collection to handle unlimited nested items follo...
509
0
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 5.0.0 | >=8.5 | ^12.0 | Apache-2.0 | |
| 4.0.0 | >=8.2 | ^11.0 | Apache-2.0 | |
| 3.2.1 | >=7.3 | ^8.0 | | Apache-2.0 | |
| 3.2.0 | >=7.3 | ^8.0 | | Apache-2.0 | |
| 3.1.0 | >=7.3 | ^7.0 | | Apache-2.0 | |
| 3.0.1 | >=7.3 | ^7.0 | | Apache-2.0 | |
| 3.0.0 | >=7.3 | ^7.0 | | Apache-2.0 | |
| 2.0.1 | >=7.2 | ^5.8 | | Apache-2.0 | |
| 2.0.0 | >=7.2 | ^5.8 | | Apache-2.0 | |
| 1.2.0 | >=7.1 | ^5.5 | Apache-2.0 | |
| 1.1.0 | >=7.1 | ^5.5 | Apache-2.0 | |
| 1.0.0 | >=7.1 | ^5.5 | Apache-2.0 |