Download the PHP package konsulting/laravel-extend-collections without Composer
On this page you can find all versions of the php package konsulting/laravel-extend-collections. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download konsulting/laravel-extend-collections
More information about konsulting/laravel-extend-collections
Files in konsulting/laravel-extend-collections
Download konsulting/laravel-extend-collections
More information about konsulting/laravel-extend-collections
Files in konsulting/laravel-extend-collections
Vendor konsulting
Package laravel-extend-collections
Short Description A few extensions to the Laravel Collection and Arr.
License MIT
Package laravel-extend-collections
Short Description A few extensions to the Laravel Collection and Arr.
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-extend-collections
Laravel Extend Collections
A few extensions to the Laravel Collection and Arr.
Installation
composer require konsulting/laravel-extend-collections
Using Laravel
This package will auto-register the service provider.
Not using Laravel
There is a simple namespaced helper function to assist with extending Collection and Arr.
Arr Extensions
fromDot- convert an array where the keys are dot-notation indexed to a nested array
Collection extensions
dropEmpty- drop items whose values areempty()deep- apply a function recursively through a collection, and through arrays/collections within itdotGet- retrieve an item using dot-notationdotSet- set an item using dot-notationdotHas- check if an item exists using dot-notationdot- now standard in Laravel asdot.fromDot- a little different toundotin Laravel.
Contributing
Contributions are welcome and will be fully credited. We will accept contributions by Pull Request.
Please:
- Use the PSR-2 Coding Standard
- Add tests, if you’re not sure how, please ask.
- Document changes in behaviour, including readme.md.
Testing
We use PHPUnit
Run tests using PHPUnit: vendor/bin/phpunit
All versions of laravel-extend-collections with dependencies
PHP Build Version
Package Version
The package konsulting/laravel-extend-collections contains the following files
Loading the files please wait ...