ob / silex-skeleton
My starting point for Silex projects
Installs: 74
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 1
Forks: 1
Open Issues: 1
Type:project
Requires
- php: >=5.3
- silex/silex: ~1.1
- silex/web-profiler: dev-master
- symfony/debug: ~2.3
- symfony/monolog-bridge: ~2.3
- symfony/twig-bridge: ~2.3
This package is not auto-updated.
Last update: 2020-01-12 16:27:02 UTC
README
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.
Usage
Add your PSR compliant code in src/
, configurations are in app/config/
and the routing is in there too.
Installation
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar create-project ob/silex-skeleton=dev-master
Contributing
See CONTRIBUTING.md file.
Running the Tests
$ phpunit -c app/
Credits
- Fabien Potencier for his Silex-Skeleton
- Matthias Noback for his blog post on getting your Silex project structure right
License
This Silex skeleton is released under the MIT License. See the bundled LICENSE file for details.