Download the PHP package shudrum/array-finder without Composer

On this page you can find all versions of the php package shudrum/array-finder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package array-finder

Build Status

ArrayFinder Component

The ArrayFinder component allow you to manage large nested arrays with ease.

Here is a simple example that shows how to easily get a value from an array:

To install this package, you can simply use composer:

Documentation

Methods

get($path)

You can get a value following a path separated by a '.'.

If the path is null, all the content will be returned.

set($path, $value)

You can add a value to a specific path separated by a '.'. If the nested arrays does not exists, it will be created.

changeSeparator($separator)

If the default separator (.) does not fit to your needs, you can call this method to change it.

Implementations

The ArrayFinder component implements some usefull interfaces:

ArrayAccess

You can use this object like an array:

Countable

You can use count on this object:

Iterator

You can iterate on this object:

Serializable

You can easily serialize / unserialize this object.

Resources

You can run the unit tests with the following command:

$ cd path/to/Shudrum/Component/ArrayFinder/
$ composer install
$ phpunit

All versions of array-finder with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package shudrum/array-finder contains the following files

Loading the files please wait ....