Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

arrilot/slim-api-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version Total Downloads Scrutinizer Quality Score

Simple base api controller for slimframework.com

Installation

  1. composer require arrilot/slim-api-controller

  2. Register the strategy and a logger into service container.

$container = $app->getContainer();
$container['foundHandler'] = function () {
    return new \Arrilot\SlimApiController\OnlyArgsStrategy();
};
$container['logger'] = function () {
    // return ...
};

About

Simple base api controller for slimframework.com

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages