2017 © Pedro Peláez
 

library array-helper

Array Helper

image

dcwq/array-helper

Array Helper

  • Wednesday, December 6, 2017
  • by dcwiklik
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • Ruby
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Array Helper

Latest Version on Packagist Software License Build Status, (*1)

Requirements

Requires PHP version 5.6+, (*2)

Installation

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

Usage

User dcwq\ArrayHelper namespace:, (*5)

ArrayHelper::flatten

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

License

The MIT License (MIT). Please see License File for more information., (*7)

The Versions

06/12 2017

dev-master

9999999-dev

Array Helper

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by dcwq

06/12 2017

v1.0

1.0.0.0

Array Helper

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

by dcwq