2017 © Pedro Peláez
 

library arrayor

A simple class that provide some functions to manipulate arrays.

image

xety/arrayor

A simple class that provide some functions to manipulate arrays.

  • Monday, November 7, 2016
  • by Xety
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Arrayor

A simple class that provide some functions to manipulate arrays., (*1)

Travis Coverage Scrutinizer Stable Version Downloads License
Build Status Coverage Status Scrutinizer Latest Stable Version Total Downloads License

Requirements

Functions

  • Arrayor::camelizeIndex($array, $delimiter = '_')
    • Camelize all index keys in the first level.

``` php, (*2)

$array = [ 'Index key' => 1, 'key_index' => 2 ];, (*3)

$result = Arrayor::camelizeIndex($array);, (*4)

$result = [ 'indexKey' => 1, 'keyIndex' => 2 ];, (*5)


* `Arrayor::implodeRecursive($array = [], $glue = ' : ', $separator = ' | ')` * Implode an array into a string by both key and value. ``` php $array = [ 'key-index' => 1, 'key index' => 'value' ]; $string = Arrayor::implodeRecursive($array); $string = 'key-index : 1 | key index : value';

Contribute

Follow this guide to contribute, (*6)

The Versions

07/11 2016

dev-master

9999999-dev https://github.com/Xety/Arrayor

A simple class that provide some functions to manipulate arrays.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

array manipulation functions arrayor

07/11 2016

v1.0.0

1.0.0.0 https://github.com/Xety/Arrayor

A simple class that provide some functions to manipulate arrays.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

array manipulation functions arrayor