2017 © Pedro Peláez
 

library twitter-bootstrap-bundle

(yet another) bundle to easily integrate twitter bootstrap css/js libraries. It is based on the phiamo/MopaBootstrapBundle (but meant to be simpler)

image

paella/twitter-bootstrap-bundle

(yet another) bundle to easily integrate twitter bootstrap css/js libraries. It is based on the phiamo/MopaBootstrapBundle (but meant to be simpler)

  • Tuesday, March 26, 2013
  • by kbsali
  • Repository
  • 0 Watchers
  • 2 Stars
  • 21 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

TwitterBootsrapBundle

This bundle provides the assets from the twitter bootstrap and the twig theme for forms using the twitter bootstrap., (*1)

Installation

Include this repository in your app/deps file:, (*2)

``` php [PaellaTwitterBootstrapBundle] git=http://github.com/Paella/TwitterBootstrapBundle.git target=/bundles/Paella/Bundle/TwitterBootstrapBundle, (*3)


Register the Namespace in the `app/autoload.php` file : ``` php $loader->registerNamespaces(array( 'Paella' => __DIR__.'/../vendor/bundles', ));

Register the bundle in app/AppKernel.php, (*4)

``` php public function registerBundles() { $bundles = array( new Paella\TwitterBootstrapBundle\PaellaTwitterBootstrapBundle(), );, (*5)


## Usage Publish the assets of your application : ``` php app/console assets:install ``` Add the assets in you template (available version 1.4.0, 2.0.0, 2.0.2) : ```html+jinja {% block stylesheets %} <link rel="stylesheet" media="all" href="{{ asset('bundles/paellatwitterbootstrap/[VERSION]/css/bootstrap.[min.]css') }}"> <link rel="stylesheet" media="all" href="{{ asset('bundles/paellatwitterbootstrap/[VERSION]/css/bootstrap-responsive.[min.]css') }}"> {% endblock %} {% block javascripts %} {% endblock %}

The Versions

26/03 2013

dev-master

9999999-dev

(yet another) bundle to easily integrate twitter bootstrap css/js libraries. It is based on the phiamo/MopaBootstrapBundle (but meant to be simpler)

  Sources   Download

MIT

css bootstrap js twitter