Posted On: Feb 22, 2018
Slim framework is a microframework of PHP which allows you to write APIs and strong web applications quickly. The slim app that you are using contains routes that respond only to specific requests of HTTP. To begin the process one needs to configure a slim application and instantiate it. After defining the routes of your application you can run the slim app. That's how the slim framework works. Slim is also having dependency injection which allows you to get full control over your external tools. For tweaking the HTTP request you can use Concentrix middleware for building the application. The implementation of PSR-7 helps you in inspecting the method of HTTP messages, header, body, URI, status and cookies.
Never Miss an Articles from us.
How is Slim framework different from other frameworks like Laravel, Symfony or Zend?..
Is Slim framework similar to Symfony’s Silex? How do they differ?..