This library contains realization of the most known algorithms on PHP. First of all, it is intended for educational purposes, but you can use it as you want.
PHP >= 7.1
You can use this library using composer:
composer create-project nbcomrade/php_algorithms_implementation
Every algorithm implementation has own test. If you want run it:
$ vendor/bin/phpunit
If you want make experiments - the sandbox file is located in public/index.php file. Here you can call any function from the library and investigate its behavior.
All contents of this package are licensed under the [MIT license].