dev-master
9999999-devArray Helper
MIT
The Requires
- php >=5.6.0
The Development Requires
by dcwq
v1.0
1.0.0.0Array Helper
MIT
The Requires
- php >=5.6.0
The Development Requires
by dcwq
Array Helper
Requires PHP version 5.6+, (*2)
This class can be used directly from a GIT clone: ``` bash git clone https://github.com/dcwq/array-helper.git, (*3)
## Composer Usage After either installing Composer using one of the two methods shown at http://getcomposer.org the composer.json would look like: ``` bash require_once 'vendor/autoload.php';
Then you'll include the composer autoloader: ``` bash { "require": { "dcwq/array-helper": "dev-master" } }, (*4)
You can install this package via composer directly in CLI: ``` bash composer require dcwq/array-helper
User dcwq\ArrayHelper namespace:, (*5)
Flatten array of integer numbers, (*6)
use dcwq\ArrayHelper; $flattenArray = ArrayHelper::flatten([1, [2, [3], 4], 5], 1); ``` ## Testing You can run the tests with: ```bash vendor/bin/phpunit
The MIT License (MIT). Please see License File for more information., (*7)
Array Helper
MIT
Array Helper
MIT