smirik / bootstrap-bundle
Simple bundle which add bootstrap css and js files to project and standard template to the form.
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 19 835
Dependents: 0
Suggesters: 1
Security: 0
Stars: 2
Watchers: 2
Forks: 2
Open Issues: 0
Language:JavaScript
Type:symfony-bundle
Requires
This package is not auto-updated.
Last update: 2021-07-09 22:06:42 UTC
README
Introduction
This bundle provides simple Twitter bootstrap functionality to the symfony2 app:
Features
- Add bootstrap.css
- Add bootstrap.js
- Add fields.html.twig for form theming (with support twitter bootstrap)
Requirements
- Symfony 2+ with twig.
Installation
Add bundle to your composer.json:
{ "require": { "smirik/bootstrap-bundle": "*" } }
Add to your AppKernel.php:
new Smirik\BootstrapBundle\SmirikBootstrapBundle(),
How to use
Bundle also provides 2 twig functions for including css and js:
{{ bootstrap_css() }}
{{ bootstrap_js() }}
Roadmap
- Comments, pulls, reviews, forks are welcome!
License
MIT.