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
jcrowe/type-safe-collection
A thin wrapper around Illuminate/Collection that allows for enforcing type const...
9,218
4
typicms/nestablecollection
A Laravel Package that extends Collection to handle unlimited nested items follo...
348,169
88
webfactorybulgaria/nestablecollection
A Laravel Package that extends Collection to handle unlimited nested items follo...
509
0