arrilot / slim-api-controller
This package is abandoned and no longer maintained.
No replacement package was suggested.
Simple base api controller for slimframework.com
0.2.1
2019-12-11 13:01 UTC
Requires
- php: >=5.5.9
- slim/slim: >=3.0.0 <=3.12.2
This package is auto-updated.
Last update: 2023-01-11 19:33:51 UTC
README
Simple base api controller for slimframework.com
Installation
-
composer require arrilot/slim-api-controller -
Register the strategy and a logger into service container.
$container = $app->getContainer(); $container['foundHandler'] = function () { return new \Arrilot\SlimApiController\OnlyArgsStrategy(); }; $container['logger'] = function () { // return ... };