Open belgattitude opened 7 years ago
For me looks fine. One think what you can improve it's move building middlewares (with dependencies) to your container.
A good init.
This repository has been closed and moved to mezzio/mezzio; a new issue has been opened at https://github.com/mezzio/mezzio/issues/14.
Following the doc about debugbars, the
php-middleware/php-debug-bar
neitherbitExpert/prophiler-psr7-middleware
didn't work in a 'programmatic_pipelines' context.What is the recommended way to pipe middleware only for development ?
For now I've ended up adding them in the
config/pipeline.php
file:Not sure if it's a good practive. BTW both debugbars looks pretty minimal. Is there any plan to have the ZendDeveloperTools toolbar for expressive ?