Single Page Bootstrap Bundle, (*1)
#
Just a simple bundle to wrap and package some bootstrap theme around a simple symfony skeleton with i18n and basic form management., (*2)
Installation
Install the bundle
Simply run assuming you have installed composer.phar or composer binary:, (*3)
``` bash
$ php composer.phar require houseofagile/HOASinglePageBootstrapBundle 0.8.*, (*4)
## Enable the bundle
Finally, enable the bundle in the kernel:
``` php
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new HOA\Bundle\SinglePageBundle\HOASinglePageBundle()
// if you choose to use HOANotificationBundle for contact notification, make sure that it is registered in your application
// new HOA\Bundle\NotificationBundle\HOANotificationBundle(),
);
}
Branches
If you wish to use the current master branch, then use the following:, (*5)
``` json
{
"require": {
"houseofagile/single-page-boostrap-bundle": "dev-master"
}
}, (*6)
if you want to use the current branch
```json
{
"require": {
"houseofagile/single-page-boostrap-bundle": "0.8.*@dev"
}
}
Documentation
Single Page configuration
A single page is configured through its yml config file. That file is ued in order to set global settings for the single page, define values for the data used within your single page and define keys that should be translatable., (*7)
Additional Resources:, (*8)
Warning
We tried to make that bundle as generic as possible, but of course there is lots of dependencies, the use of that bundle should be made integrated through our single-page-bootstrap-bundle starter project., (*9)
Contribute
If you want to contribute your code to SinglePageBootstrapBundle 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., (*10)
You can see who already contributed to this project on Contributors page, (*11)
License
This bundle is under the Apache license. For more information, see the complete LICENCE file in the bundle., (*12)