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

v2.0.0 2020-08-24 12:59 UTC

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