https://github.com/titomiguelcosta/silexbootstrap
Bootstrap for Silex micro-framework with Zend Framework 2 components integration
https://github.com/titomiguelcosta/silexbootstrap
Last synced: 2 months ago
JSON representation
Bootstrap for Silex micro-framework with Zend Framework 2 components integration
- Host: GitHub
- URL: https://github.com/titomiguelcosta/silexbootstrap
- Owner: titomiguelcosta
- Created: 2012-09-16T17:22:41.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-09-18T21:49:22.000Z (over 11 years ago)
- Last Synced: 2025-01-29T20:44:15.059Z (4 months ago)
- Language: PHP
- Size: 184 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Silex Bootstrap
===============This is my standard bootstrap for a new web project that uses the [Silex micro-framework][1].
It has the following advantages:
* defines a file structure for code (config folder for all the configuration, views folder for twig templates, data/cache for twig cache files, data/database/db.sqlite for sqlite database, etc)
* [Zend Framework 2][2] components repository configured in the composer.json file
* registers the main providers commonly used (check config/services.php)
* ready to use with an index.php controller in dev environment
* incorporates [Twitter Bootstrap][3] assets
* has a layout.html.twig that implements the [Initializr][4] recommendations for a valid HTML5 page
* makes use of the [Yui3][5] grid and reset (style tag in the layout.html.twig file)
* uses [composer][6] to manage all dependenciesInstalation
-----------1. Clone this project
* git clone https://github.com/titomiguelcosta/SilexBootstrap.git YourProjectName
2. Install composer
* cd YourProjectName
* composer.phar update
3. To test, if you have php 5.4, just start server and visit page in your favorite browser
* cd web/
* php -S localhost:8000
* visit htp://localhost:8000/[1]: http://silex.sensiolabs.org/
[2]: http://framework.zend.com/
[3]: http://twitter.github.com/bootstrap/
[4]: http://www.initializr.com/
[5]: http://yuilibrary.com/projects/yui3/
[6]: http://getcomposer.org/