2017 © Pedro Peláez
 

symfony-bundle bootstrap-extend-bundle

Twitter Bootstrap Extend for Symfony2

image

sopinet/bootstrap-extend-bundle

Twitter Bootstrap Extend for Symfony2

  • Sunday, November 3, 2013
  • by hidabe
  • Repository
  • 4 Watchers
  • 1 Stars
  • 420 Installations
  • JavaScript
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

bootstrap-extend-bundle

What is it?

It is alpha bundle for Symfony2, you can add jquery, bootstrap and other libraries with easy and fast method., (*1)

Thanks to Florian Eckerstorfer Inspirated in https://github.com/braincrafted/bootstrap-bundle, (*2)

Installation via composer

{
   "require": {
        "sopinet/bootstrap-extend-bundle": "dev-master"
    }
},
"scripts": {
  "post-install-cmd": [
    "Sopinet\\Bundle\\BootstrapExtendBundle\\Composer\\ScriptHandler::copyExport"
  ],
  "post-update-cmd": [
    "Sopinet\\Bundle\\BootstrapExtendBundle\\Composer\\ScriptHandler::copyExport"
  ]
}

Add in AppKernel the bundle, (*3)

new Sopinet\Bundle\BootstrapExtendBundle\SopinetBootstrapExtendBundle(),

After execute:, (*4)

    sudo php app/console assets:install

Configuration

You can configure what librey include, by default only jquery and bootstrap, for add more:, (*5)

sopinet_bootstrap_extend:
    include: [ jcrop, image-gallery, font-awesome, jqueryform, datepicker ]

Usage

In your twig, you can do any like:, (*6)

{% extends 'SopinetBootstrapExtendBundle:Base:normal.html.twig' %}

{% block title %}Yourweb{% endblock %}

{% block body %}
    <div class="container">
        Hello world!
    </div>
{% endblock %}

Problems, bugs?

Please report it via github, (*7)

The Versions

03/11 2013

dev-master

9999999-dev

Twitter Bootstrap Extend for Symfony2

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

bootstrap

03/11 2013

dev-bootstrap3

dev-bootstrap3

Twitter Bootstrap Extend for Symfony2

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

bootstrap