Slim for PHP is a RESTful micro framework for PHP 5 inspired by Sinatra.
- Slim 3 requires PHP 5.5.0 or newer.
Resources
Features
Router Slim uses the FastRoute router and maps route callbacks to specific HTTP request methods and URIs. It supports route segment parameters and pattern matching.
Middleware Build your application with custom concentric middleware to tweak the HTTP request and response objects before and after your Slim app runs.
HTTP Slim has easy-to-use PSR-7 request and response abstractions that let you inspect and manipulate HTTP messages' method, status, URI, headers, cookies, and body.
Related tags
slimslim-3
For the Ruby template engine use slim-lang instead.