bovsunovsky / sort-library
This is a sort-library study PHP projects.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/bovsunovsky/sort-library
Requires
- php: >=7.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2025-09-25 00:35:46 UTC
README
Installation Either run
composer require bovsunovsky/sort-library
or add
"bovsunovsky/sort-library": "~1.0"
to the require section of your composer.json.
Usage
- Add: use BOA\Sorter;
- Set sort direction;
- Call method sot($data);
Example
$sorter = new Sorter(new SortDesc());
var_dump($sorter->sort($testString)) ;
Tests
Run with console : " ./tests/test" or "php tests/test"
License
This project is released under the terms of the BSD-3-Clause license.
Copyright (c) 2020, bovsunovsky