Download the PHP package descent/universe without Composer
On this page you can find all versions of the php package descent/universe. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download descent/universe
More information about descent/universe
Files in descent/universe
Download descent/universe
More information about descent/universe
Files in descent/universe
Vendor descent
Package universe
Short Description Descent Framework Standard PHP Functions
License MIT
Package universe
Short Description Descent Framework Standard PHP Functions
License MIT
Please rate this library. Is it a good library?
Informations about the package universe
universe
Descent Framework Standard PHP Functions.
Standard PHP Functions
Similar to the Standard PHP Library, this package provides additional PHP functions at the global scope which are used at the core of the Descent Framework.
Implemented global scope array functions
array_fetch
- resolves a query path based array valuearray_extend
- extends an given array by the provided query path and valuearray_exclude
- removes a value based on the provided query patharray_normalize
- normalizes a array based on query path notationarray_ping
- checks whether a query path exists or notarray_touch
- guarantees that a query path is an array
See Functions.php.
What is query path?
Query paths are notations of a chain of array keys to directly access deep array values in a regular array.
Do query path based array functions work on arrays with query path notation?
No, you have to normalize those array. There is a function for such
scenarios build in: array_normalize
.
Do query path based array functions work directly on the source array?
No, all functions do create a copy of the provided array.
Implemented global scope callback functions
encloseCallback
- creates a Closure of a provided callable, automatically usesClosure::fromCallable
when availableencloseCallbackPattern
- callsencloseCallback
after the provided callback pattern (separated by the provided method separator and enhanced by the provided namespace) was converted to a callback.
All versions of universe with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package descent/universe contains the following files
Loading the files please wait ....