5 ms·
Instead of creating another framework , make a service provider/controller and make your library pluggable with any Silex application. Sorry but silex is ultra
by camus 13y ago
Instead of creating another framework , make a service provider/controller and make your library pluggable with any Silex application. Sorry but silex is ultra pluggable , so dont force people into something. Silex Di is here to help and you should provide hooks instead of making decisions on everything.
There should not be any app.php file in your project. Unless you need to extend the silex Application class (you shouldn' need to), write a service provider or a generic controler.
It should be a library usable with any silex app , just like Symfony and its bundles.
- fka 13y agoYes. It is really good idea. I am going to do it something like that. :)