2017 © Pedro Peláez
 

library sorty

Library to sort arrays and array objects.

image

jan-maennig/sorty

Library to sort arrays and array objects.

  • Friday, December 8, 2017
  • by janmaennig
  • Repository
  • 3 Watchers
  • 5 Stars
  • 566 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 1 % Grown

The README.md

Sorty

Latest Stable Version Build Status Total Downloads License Test Coverage, (*1)

Sorty provided a library to sort arrays and object storages by multiple properties and directions. Object storages must be implement "\Iterator" and "\ArrayAccess" interfaces., (*2)

Installation

composer require jan-maennig/sorty

How to use

Sort array collection

examples/example_array.php, (*3)

Sort a storage of objects

examples/example_object_storage.php, (*4)

Checks

./vendor/bin/phpcs --standard=PSR2 ./src -v
./vendor/bin/phpcpd ./src
./vendor/bin/phpunit ./tests/ --coverage-clover build/logs/clover.xml
./vendor/bin/phpmd ./src text ./phpmd.xml
./vendor/bin/security-checker security:check ./composer.lock

Changelog

2017-12-04 Jan Maennig janmaennig@gmail.com, (*5)

* Add functionality to sort object storages

2016-11-09 Jan Maennig janmaennig@gmail.com, (*6)

* Bugfixes
* Add code checks 

2016-11-01 Jan Maennig janmaennig@gmail.com, (*7)

* Initial add array value sorter

The Versions

27/11 2017
02/11 2016
02/11 2016