crafterr/arraysort

This is standard package by which advantage assoc array replace on simple array.

dev-master 2018-01-31 12:34 UTC

This package is not auto-updated.

Last update: 2024-06-26 03:41:45 UTC


README

Description

Library can change advance assoc array to simple numeric array

Requirements

  • PHP >= 7

Dependance

  • PHP >= 7.1

Installation by Composer

composer require crafterr/arraysort dev-master

Manual instalation

copy dir directory to your project etc. vendor 

Using

$arraySort = new ArraySort([ [1, 2, [3]], 4 ]);

$array = $arraySort->arrangeElements();

return array [1,2,3,4]

Features

  • PSR-4 autoloading compliant structure
  • Unit-Testing with PHPUnit
  • Comprehensive Guides and tutorial