mremi/bootstrap-bundle

A simple way to add the Bootstrap framework in a Symfony2 project

Installs: 2 364

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 1

Language:CSS

Type:symfony-bundle

v3.0.2 2013-11-17 15:55 UTC

This package is auto-updated.

Last update: 2024-10-27 00:00:09 UTC


README

Total Downloads Latest Stable Version

This bundle is a simple way to add the Bootstrap framework in a Symfony2 project.

License

This bundle is available under the MIT license.

Prerequisites

This version of the bundle requires Symfony 2.3+.

Installation

Installation is a quick 2 step process:

  1. Download MremiBootstrapBundle using composer
  2. Enable the Bundle

Step 1: Download MremiBootstrapBundle using composer

Add MremiBootstrapBundle in your composer.json:

{
    "require": {
        "mremi/bootstrap-bundle": "dev-master"
    }
}

Now tell composer to download the bundle by running the command:

$ php composer.phar update mremi/bootstrap-bundle

Composer will install the bundle to your project's vendor/mremi directory.

Step 2: Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Mremi\BootstrapBundle\MremiBootstrapBundle(),
    );
}

Contribution

Any question or feedback? Open an issue and I will try to reply quickly.

I hope this has been useful and has helped you. If so, share it and recommend it! :)

@mremitsme