Functions for Slim 3 applications
Not yet available on packagist.org. Waiting stable version.
Add in composer.json :
{
/* composer.json content */
"repositories": [
{
"type": "vcs",
"url": "https://github.com/fjourneau/php-slim-utilities.git"
}
],
"require": {
"fjourneau/slim-utilities": "dev-master"
}
}
If not mentionned, add :
{
"minimum-stability": "dev"
}
Then run composer install
or composer update
.
use fjourneau\SlimUtilities\FjoSlimContainerUtilities;
use fjourneau\SlimUtilities\EloquentLightPaginator;
use fjourneau\SlimUtilities\SlimTestCase;