Commit Graph

7 Commits (master)

Author SHA1 Message Date
Adrian 565c0315d3 TemplateRenderer which is used for 404 errors 2016-10-25 11:32:51 +02:00
Adrian cb3dab1a64 Add Whoops error handler 2016-10-25 11:18:34 +02:00
Adrian 6aa311b35d Add UrlHelper
The helper can be used to generate URLs from named routes.
HomeAction was converted to a service
to inject the URL helper using a factory.

Also see: [Container PSR and the Service Locator](https://github.com/php-fig/fig-standards/blob/master/proposed/container-meta.md#4-recommended-usage-container-psr-and-the-service-locator)
2016-10-25 10:48:15 +02:00
Adrian 3cbbc0cf24 Use seperate container script 2016-10-25 09:38:41 +02:00
Adrian e3b16644dd Move config file 2016-10-25 09:37:03 +02:00
Adrian 52ae66976a Outsource middleware 2016-10-25 00:35:07 +02:00
Adrian 4ba3a3ffdb Move existing code exactly to config file
The directory structure is taken from zendframework/zend-expressive-skeleton.
2016-10-25 00:23:29 +02:00