dl2/slim-controller: Action Controller for Slim Framework 3.8
Implement Action Controllers for use with Slim 3.8.
Installation
It's recommended that you use composer to install dl2/slim-controller.
$ composer require dl2/slim-controller
For new projects, you can use our skeleton to quickly setup and start working on a new Slim Framework 3 application:
Replace
[my-app-name]
with the desired directory name for your new application.
$ composer create-project dl2/slim-skeleton [my-app-name]
After the donwload is complete, you'll want to:
- Point your virtual host document root to the
public/
directory. - Ensure
data/logs/
anddata/cache/
is writeable by your webserver.
Usage
There is a complete application inside the example folder.
Tests
Just run composer test
.
Versioning
Follows the Slim versioning.
License
The Slim Controller extension is licensed under the MIT license. See License File for more information.
Thanks
Slim Framework
Of course, this wouldn't exists.
Example
Data inAll randomly generated data for the example were picked from the Random User Generator API.