Useful PHP utilities by Petr Knap.
Merge this JSON code with your project composer.json file and run composer install. Instead of dev-master you can use any released version.
{
"require": {
"petrknap/utils": "dev-master"
}
}Or manually clone this repository via git clone https://github.com/petrknap/utils.git or download this repository as ZIP and extract files into your project.
If you are looking for examples visit tests folder or URL shortening service repository.