fabpot/Silex — Issue #262: "Passing" & "Routes middlewares" features
Author: DrBenton
Created: 2012-02-22 15:16:05+00:00
State: open

Hi !

Is there any plan to add the Sinatra "passing" and "routes middlewares" features to Silex ? They are very useful, and others "Sinatra inspired PHP micro-frameworks" do implement them.

For example :

* "Passing" in the Slim framework : http://www.slimframework.com/documentation/stable#route-passing
* Routes Middlewares in the Slim framework : http://www.slimframework.com/documentation/stable#slim-route-middleware

It seems that the Symfony 2 Router don't allow this, but maybe a Silex "Router wrapper" could add it ?
I personnaly like Silex very much - and I have published a few Providers for it - , but these 2 missing features prevent me from using it for all my medium projects.