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

Latest commit

 

History

History
21 lines (16 loc) · 891 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 891 Bytes

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 ...
};