2017 © Pedro Peláez
 

library php-array

Php Array Opertion Class

image

mahdi-mohammadi/php-array

Php Array Opertion Class

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PHP Array

PHP class to Operation an Array, (*1)

About v0.2

PHP have useful arrays function(like:array_map, array_diff,...) but I think those functions can be better and powerful so I write this class. My approach is like CakePHP Hash Utility Class., (*2)

Requirements

Php Array Requires PHP >= 5.4, (*3)

Installation

Using Composer

You can install this package using composer. Add this package to your composer.json:, (*4)

"require": {
    "mahdi-mohammadi/php-array": "dev-master"
}

or if you prefer command line, change directory to project root and:, (*5)

php composer.phar require "mahdi-mohammadi/php-array":"dev-master"

Manual Installation

Get a copy of package source code. You can do this in two ways:, (*6)

  1. Download ZIP version of the source code and unzip it in desired location
  2. Run git clone https://github.com/mahdi-mohammadi/php-array.git to clone this repository

After getting a copy of source code, it is enough to include phpArray.class.php where you need to use it., (*7)

require_once 'path/to/source/phpArray.class.php';

Examples

Please see examples.php and example-static.php for working examples., (*8)

License

Hash Class was created by CakePHP and released under the MIT License so Php Array released under the MIT License too., (*9)

Copyright (C) 2015 Mahdi Mohammadi, (*10)

Resources

The Versions

18/04 2015

dev-master

9999999-dev http://video.varzesh3.com/

Php Array Opertion Class

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

php array convert diff combin