WARNING : THIS BUNDLE IS STILL IN EARLY STAGE OF DEVELOPMENT. YOU CAN USE IT AS IS BUT I ENCOURAGE YOU TO WAIT UNTIL IT IS FINALIZED!
BootstrappBundle is the best way to start building a Symfony2 app with a nice UI including :
- latest Twitter Bootstrap assets
- additional icons : Entypo, Font Awesome
- TwitterCldr for Unicode's Common Locale Data Repository (CLDR) use in Javascript
- date, time and datetime pickers integration with CLDR Date and time formatting
- text editors
Symfony2.1 on PHP 5.3.3 required.
The bulk of the documentation is stored in the Resources/doc/index.md
file in this bundle.
BootstrappBundle is available via packagist. Installing this bundle is simple as adding the few lines below.
Add dependency in you composer.json file to grab Bootstrapp as a vendor.
{
"require": {
"nmariani/bootstrapp-bundle": "dev-master"
}
}
Then, use composer to install BootstrappBundle and its dependencies :
php composer.phar install
Import Bootstrapp internal routing in your routing.yml file.
bootstrapp:
resource: "@BootstrappBundle/Resources/config/routing.yml"
You can import Bootstrapp demo routes in your routing_dev.yml
bootstrapp:
resource: "@BootstrappBundle/Resources/config/routing_dev.yml"
prefix: /{_locale}/bootstrapp
Then you can visit /bootstrapp/demo url to access demo page.
If you want to contribute your code please be sure that your PR's are valid to Symfony2.1 Coding Standards. You can automatically fix your code for that with PHP-CS-Fixer tool.
This bundle is under the MIT license. See the complete license in the bundle.