indibit-eu / arrayfacade
Installs: 2 171
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 3
Requires
- php: ^8.0
- ext-json: *
- phpoption/phpoption: 1.9.1
Requires (Dev)
README
Wraps PHP's built-in array functions, extends them and supports a functional, object-oriented style inspired by Lodash
https://packagist.org/packages/indibit-eu/arrayfacade
Why another array wrapper?
- Arrayy and Arrayzy lack
keyBy()
,groupBy()
,map()
and more - php-lodash and lodash-php lack the object-oriented style
Limitations
empty()
,is_array()
and thearray_...()
functions cannot be called on instances ofArrayFacade