this package helps handle array activities, creating, accessing, pushing, pulling items in and array
To install the Seeker, (*2)
first download via composer by running the command composer require dreamaker\seek
if you do not have composer you could just clone this repo, (*3)
after download, (*4)
Then include or into your project directory and put this at the top of you class or file
use Dreamaker\Seeker\Seek;
, (*5)
Seek::add(&$array, $key, $value)
, (*6)
This will add an item to an array using the "dot" notation if it doesn't exist., (*7)
Seek::accessible($value)
, (*8)
This will determine whether the given value is array accessible., (*9)
Seek::has($array, $keys)
, (*10)
This will check if an item or items exist in an array using "dot" notation, (*11)
Seek::exists($array, $key);
This will determine if the given key exists in the provided array., (*12)
Seek::set(&$array, $key, $value)
This will set an array item to a given value using "dot" notation., (*13)
Seeker is free software distributed under the terms of the MIT license., (*14)
Please report any issue you find in the issues page.
Pull requests are welcome., (*15)