Download the PHP package p810/dot without Composer
On this page you can find all versions of the php package p810/dot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor p810
Package dot
Short Description A utility for traversing arrays using dot notation
License MIT
Package dot
Short Description A utility for traversing arrays using dot notation
License MIT
Please rate this library. Is it a good library?
Informations about the package dot
Dot
A utility for traversing arrays using dot notation
Installation
Example usage
API
p810\Dot\find(string $needle, array $haystack): mixed
Searches an array for a value based on a dot notated string of keys
Argument | Type | Default | Description |
---|---|---|---|
$needle |
string |
n/a | A dot separated list of keys |
$haystack |
array |
n/a | The array to traverse |
:bulb:
p810\Dot\search()
is an alias for this function
p810\Dot\getKeysFromString(string $keys): array<int,string|int>
Returns a list of keys from a dot notated string
Argument | Type | Default | Description |
---|---|---|---|
$keys |
string |
n/a | A dot separated list of keys |
License
This package is released under the MIT License.
All versions of dot with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1
The package p810/dot contains the following files
Loading the files please wait ....