p2 / bootstrap-bundle
Twitter Bootstrap 3.0 themeing for symfony2
dev-master
2013-11-25 19:12 UTC
Requires
- php: >=5.3.3
- symfony/console: ~2.3
- symfony/form: ~2.3
- symfony/framework-bundle: ~2.3
- symfony/twig-bundle: ~2.3
Requires (Dev)
- mikey179/vfsstream: 1.3.*@dev
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2020-01-05 16:55:05 UTC
README
Version: 2.0.0-BETA
Installation
"require": { "p2/bootstrap-bundle": "dev-master" }
Usage
Simply enable the bundle within your AppKernel.php file.
The Bundle will automatically create and provide the following assets for you:
- @bootstrap_css "css/bootstrap.css" The default twitter bootstrap css
- @bootstrap_js "js/bootstrap.js" The combined twitter bootstrap javascript library
Configuration
Default configuration:
p2_bootstrap: use_forms: true source_path: '%kernel.root_dir%/../vendor/twbs/bootstrap' bootstrap_css: 'css/bootstrap.css' bootstrap_js: 'js/bootstrap.js' forms: defaults: horizontal: true inline: false prepend: true append: false help: ~ help_type: ~ info: ~ info_type: ~ icon: ~ grid: [ 4, 8 ] allowed_types: horizontal: 'bool' inline: 'bool' prepend: 'bool' append: 'bool' help: [ 'null', 'string' ] help_type: [ 'null', 'string' ] info: [ 'null', 'string' ] info_type: [ 'null', 'string' ] icon: [ 'null', 'string' ] grid: 'array' allowed_values: []