This is a Symfony-like boostrap for Silex. Things are pretty much where you expect them if you've worked with the fullstack framework.
You could even drop-in properly decoupled Symfony2 Bundles, or easily switch to Symfony2 once your project grows.
Add your PSR compliant code in src/
, configurations are in app/config/
and the routing is in there too.
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar create-project ob/silex-skeleton=dev-master
See CONTRIBUTING.md file.
$ phpunit -c app/
- Fabien Potencier for his Silex-Skeleton
- Matthias Noback for his blog post on getting your Silex project structure right
This Silex skeleton is released under the MIT License. See the bundled LICENSE file for details.