How to use How to use A callable is assigned to a hook using the Slim application’s hook() method: <? php $app = new \Slim\Slim (); $app -> hook ( 'the.hook.name' , ...
404 Not Found Handler Default Not Found handler Custom Not Found handler 404 Not Found Handler If your Slim Framework application does not have a route that matches the curre...
Application Application Configuration Retrieving Settings Updating Settings Slim Default Settings Application The Application, (or Slim\App ) is the entry point to your Sli...
Overview Overview Each Slim application instance has one response object. The response object is an abstraction of your Slim application’sHTTP response that is returned to the ...
Dependency Container How to use the container Required services Dependency Container Slim uses a dependency container to prepare, manage, and inject applicationdependencies. ...
Router How to create routes GET Route POST Route PUT Route DELETE Route OPTIONS Route PATCH Route Any Route Custom Route Route callbacks Writing content to the response C...
500 Errors Set custom error handler Invoke custom error handler 500 Errors You may use the Slim application’s error() method to specify a custom error handler to be invoked ...
How to write How to write Slim application middleware must subclass \Slim\Middleware and implement a public call() method. The call() method does not accept arguments. Middle...