this package helps handle array activities, creating, accessing, pushing, pulling items in and array

v1.0.0 2018-07-13 03:40 UTC

This package is not auto-updated.

Last update: 2024-11-09 06:21:21 UTC


README

GitHub issues license GitHub forks GitHub stars Installs

Table of Contents

Install

To install the Seeker

first download via composer by running the command composer require dreamaker\seek if you do not have composer you could just clone this repo

after download

Then include or into your project directory and put this at the top of you class or file use Dreamaker\Seeker\Seek;

Documentation

Seek::add(&$array, $key, $value)

This will add an item to an array using the "dot" notation if it doesn't exist.

Seek::accessible($value)

This will determine whether the given value is array accessible.

Seek::has($array, $keys)

This will check if an item or items exist in an array using "dot" notation

Seek::exists($array, $key); This will determine if the given key exists in the provided array.

Seek::set(&$array, $key, $value) This will set an array item to a given value using "dot" notation.

License

Seeker is free software distributed under the terms of the MIT license.

Contribution guidelines

Please report any issue you find in the issues page.
Pull requests are welcome.