2017 © Pedro Peláez
 

symfony-bundle twitter-bootstrap-bundle

Basic integration of Twitter Bootstrap into Symfony2

image

toa/twitter-bootstrap-bundle

Basic integration of Twitter Bootstrap into Symfony2

  • Tuesday, October 22, 2013
  • by toaotc
  • Repository
  • 3 Watchers
  • 10 Stars
  • 1,353 Installations
  • CSS
  • 0 Dependents
  • 2 Suggesters
  • 5 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

ToaTwitterBootstrapBundle

This Bundle is not maintained anymore. Use PUGXGeneratorBundle f. e., (*1)

This Bundle serves basic integration of Twitter Bootstrap(v2.2.0) into Symfony Standard Edition.
It includes a CRUD-generator based on SensioGeneratorBundle., (*2)

Latest Stable Version Total Downloads, (*3)

Installation

Add toa/twitter-bootstrap-bundle to composer.json.
{
    "require": {
        // ...
        "toa/twitter-bootstrap-bundle": "dev-master",
        // ...
    }
}
Register this bundle in the app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Toa\Bundle\TwitterBootstrapBundle\ToaTwitterBootstrapBundle(),
        // ...
    );
}

Usage

CRUD generation

The CRUD-generator in ToaTwitterBootstrapBundle is based on SensioGeneratorBundle., (*4)

Instead of php ./app/console doctrine:generate:crud
you can use php ./app/console toa:generate:twitter-bootstrap-crud
with the same options and arguments., (*5)

Template overriding

Default CRUD-templates reside in Resources/skeleton/crud that can be overridden in /app/Resources/ToaTwitterBootstrapBundle/skeleton/crud.
The base-templates of SensioGeneratorBundle can be overridden in the same way., (*6)

Example #1:

All generated views extend from ToaTwitterBootstrapBundle::layout.html.twig that can be overridden in /app/Resources/ToaTwitterBootstrapBundle/skeleton/crud/views/others/extends.twig.twig., (*7)

Example #2:

All generated views use the content block that can be overridden in /app/Resources/ToaTwitterBootstrapBundle/skeleton/crud/views/others/block.twig.twig., (*8)

The Versions

22/10 2013

dev-master

9999999-dev

Basic integration of Twitter Bootstrap into Symfony2

  Sources   Download

MIT

The Requires

 

by Enrico Thies

code generation

06/06 2013

2.2.x-dev

2.2.9999999.9999999-dev

Basic integration of Twitter Bootstrap into Symfony2

  Sources   Download

MIT

The Requires

 

by Enrico Thies

code generation

01/06 2013

2.1.x-dev

2.1.9999999.9999999-dev

Basic integration of Twitter Bootstrap into Symfony2

  Sources   Download

MIT

The Requires

 

by Enrico Thies

code generation

01/06 2013

v2.1.2

2.1.2.0

Basic integration of Twitter Bootstrap into Symfony2

  Sources   Download

MIT

The Requires

 

by Enrico Thies

code generation

11/03 2013

v2.1.1

2.1.1.0

Basic integration of Twitter Bootstrap into Symfony2

  Sources   Download

MIT

The Requires

 

by Enrico Thies

code generation

17/10 2012

v2.1.0

2.1.0.0

Basic integration of Twitter Bootstrap into Symfony2

  Sources   Download

MIT

The Requires

 

by Enrico Thies

code generation

14/08 2012

v2.0.4

2.0.4.0

Basic integration of Twitter Bootstrap into Symfony2

  Sources   Download

MIT

The Requires

 

by Enrico Thies

code generation