6

Is there any Bundle for using in symfony2 that has features of Bootstrap3?

I have tried coding myself but there are issues with many components so to complete my project quickly I am searching for an already made bundle.

4 Answers 4

7

You are looking for MopaBootstrapBundle which integrates twitter bootstrap in your Symfony2 project (form, menu...)

Github: https://github.com/phiamo/MopaBootstrapBundle

Docs: https://github.com/phiamo/MopaBootstrapBundle/blob/master/Resources/doc/index.md

Sign up to request clarification or add additional context in comments.

Comments

4

You can try http://bootstrap.braincrafted.com/ also. Works very good for me.

Comments

3

As of Symfony 2.6, Bootstrap support for forms comes standard: http://symfony.com/doc/current/cookbook/form/form_customization.html#what-are-form-themes

Just update your config.yml to use it:

# config.yml
twig:
    # ...
    form_themes:
        - bootstrap_3_layout.html.twig

Have fun!

Comments

-1

You can add the github repository to your composer. Add it to your composer.json like this:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/twbs/bootstrap"
        }
    ],
    "require": {
        "twbs/bootstrap": "master"
    }
}

See the composer documentation for more examples and explanations

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.