PHPackages                             webeweb/bootstrap-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. webeweb/bootstrap-bundle

AbandonedArchivedSymfony-bundle[Utility &amp; Helpers](/categories/utility)

webeweb/bootstrap-bundle
========================

Integrate Bootstrap theme with Symfony 2 and more

v4.25.0(2y ago)1120.4k↓80%23MITPHPPHP ^7.1|^8.0CI passing

Since Jul 10Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/webeweb/bootstrap-bundle)[ Packagist](https://packagist.org/packages/webeweb/bootstrap-bundle)[ Docs](https://github.com/webeweb/bootstrap-bundle)[ RSS](/packages/webeweb-bootstrap-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (16)Versions (103)Used By (3)

bootstrap-bundle
================

[](#bootstrap-bundle)

[![Build Status](https://camo.githubusercontent.com/7d56157688343b2814d2ea28be92a9b92661bf4661c3074b885da4e8b9bfea0f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f776562657765622f626f6f7473747261702d62756e646c652f6275696c642e796d6c3f7374796c653d666c61742d737175617265)](https://github.com/webeweb/bootstrap-bundle/actions)[![Coverage Status](https://camo.githubusercontent.com/79d1f18a3f971b797a4f56f173e73c0a803b0560cd811765cdb91dd6841ee86a/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f776562657765622f626f6f7473747261702d62756e646c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/webeweb/bootstrap-bundle?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7fa944c1d0ac93e1600bad46a43572679f3c6e746e0b2243c1c240fba8ec92ee/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f776562657765622f626f6f7473747261702d62756e646c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/webeweb/bootstrap-bundle/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/29a657630f28f108bc62b904035b849d97fb813f469e668b46048a316b539d8b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776562657765622f626f6f7473747261702d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webeweb/bootstrap-bundle)[![License](https://camo.githubusercontent.com/92c340f1801222feac4329519d0926374839792bbf10c84f9e2da44660f44e7c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776562657765622f626f6f7473747261702d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webeweb/bootstrap-bundle)[![composer.lock](https://camo.githubusercontent.com/7de7a804bd6140ed9930c0194534e58bc53b1fcdc260d727baae460969a1f285/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2e6c6f636b2d756e636f6d6d697465642d696d706f7274616e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webeweb/bootstrap-bundle)

Integrate Bootstrap theme with Symfony 4 and more.

> IMPORTANT NOTICE: This package is no longer maintained and its classes have been migrated into package "[jQuery DataTables bundle](https://github.com/webeweb/jquery-datatables-bundle/)" (available into version up to 5.0 and more)

`bootstrap-bundle` eases the use of Bootstrap to display components in your Symfony application by providing Twig extensions and PHP objects to do the heavy lifting. The bundle include the excellent framework [Bootstrap](https://getbootstrap.com/)and some useful plugins.

[![Bootstrap bundle](https://raw.githubusercontent.com/webeweb/bootstrap-bundle/master/Resources/doc/screenshot_readme.png)](https://raw.githubusercontent.com/webeweb/bootstrap-bundle/master/Resources/doc/screenshot_readme.png)

Includes:

- [Bootstrap 3.4.1](https://getbootstrap.com/docs/3.4)
- [Bootstrap 4.6.2](https://getbootstrap.com/docs/4.6)
- [Bootstrap 5.3.0](https://getbootstrap.com/docs/5.3)
- [Bootstrap Colorpicker 2.5.3](https://github.com/itsjavi/bootstrap-colorpicker) (Bootstrap plug-in)
- [Bootstrap Datepicker 1.9.0](https://github.com/uxsolutions/bootstrap-datepicker) (Bootstrap plug-in)
- [Bootstrap Daterangepicker 2.1.27](https://github.com/dangrossman/daterangepicker) (Bootstrap plug-in)
- [Bootstrap Icons 1.9.1](https://icons.getbootstrap.com)
- [Bootstrap Markdown 2.10.0](https://github.com/toopay/bootstrap-markdown) (Bootstrap plug-in)
- [Bootstrap Notify 3.1.3](https://github.com/mouse0270/bootstrap-growl) (Bootstrap plug-in)
- [Bootstrap Select 1.12.4](https://github.com/silviomoreto/bootstrap-select) (Bootstrap plug-in)
- [Bootstrap Slider 10.0.0](https://github.com/seiyria/bootstrap-slider) (Bootstrap plug-in)
- [Bootstrap Social 5.1.1](https://github.com/lipis/bootstrap-social) (Bootstrap plug-in)
- [Bootstrap Tagsinput 0.8.0](https://github.com/bootstrap-tagsinput/bootstrap-tagsinput) (Bootstrap plug-in)
- [Bootstrap Timepicker 0.5.2](https://github.com/jdewit/bootstrap-timepicker) (Bootstrap plug-in)
- [Bootstrap WYSIWYG 0.3.3](https://github.com/Waxolunist/bootstrap3-wysihtml5-bower) (Bootstrap plug-in)
- [Handlebars 1.3.0](https://github.com/handlebars-lang/handlebars.js) (Bootstrap WYSIWYG dependency)
- [Moment.js 2.20.1](https://github.com/moment/moment) (Bootstrap Daterangepicker dependency)
- [Popper.js 1.15.0](https://github.com/popperjs/popper-core) (Bootstrap dependency)
- [Summernote 0.8.20](https://github.com/summernote/summernote) (Bootstrap plug-in)
- [WYSIHTML 0.4.15](https://github.com/Voog/wysihtml) (Bootstrap WYSIWYG dependency)

Provides:

- Button Twig extension
- Code Twig extension
- Grid Twig extension (only for Bootstrap 3)
- Typography Twig extension
- Alert Twig extension
- Badge Twig extension
- Button group Twig extension
- Glyphicon Twig extension
- Label Twig extension
- Progress bar Twig extension

If you like this package, pay me a beer (or a coffee) [![paypal.me](https://camo.githubusercontent.com/792daa86a939b21089cfef57177a6331ffe4bb93d6cb6f90cb8e42446cc30941/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2e6d652d776562657765622d3030373062612e7376673f7374796c653d666c61742d737175617265266c6f676f3d70617970616c)](https://www.paypal.me/webeweb)

Compatibility
-------------

[](#compatibility)

[![PHP](https://camo.githubusercontent.com/c461f37af07693efaa43fcb7bec3e7d170d5f1db1e732833fa2a26faaace16b0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f776562657765622f626f6f7473747261702d62756e646c652e7376673f7374796c653d666c61742d737175617265)](http://php.net)[![Symfony](https://camo.githubusercontent.com/ea1152a25d5b135d3babcddcd9d4a72dc5433852817eb909abc8b2070c73c037/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d253545342e34253743253545352e30253743253545362e302d6272696768746e6573732e7376673f7374796c653d666c61742d737175617265)](https://symfony.com)

Installation
------------

[](#installation)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this package:

```
$ composer require webeweb/bootstrap-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
    public function registerBundles() {
        $bundles = [
            // ...
            new WBW\Bundle\BootstrapBundle\WBWBootstrapBundle(),
            new WBW\Bundle\CoreBundle\WBWCoreBundle(),
        ];

        // ...

        return $bundles;
    }
```

Once the bundle is added then do:

```
$ php bin/console wbw:core:unzip-assets
$ php bin/console assets:install
```

Usage
-----

[](#usage)

Read the [documentation](Resources/doc/index.md).

Testing
-------

[](#testing)

To test the package, is better to clone this repository on your computer. Open a command console and execute the following commands to download the latest stable version of this package:

```
$ git clone https://github.com/webeweb/bootstrap-bundle.git
$ cd bootstrap-bundle
$ composer install
```

Once all required libraries are installed then do:

```
$ vendor/bin/phpunit
```

License
-------

[](#license)

`bootstrap-bundle` is released under the MIT License. See the bundled [LICENSE](LICENSE)file for details.

Donate
------

[](#donate)

If you like this work, please consider donating at [![paypal.me](https://camo.githubusercontent.com/792daa86a939b21089cfef57177a6331ffe4bb93d6cb6f90cb8e42446cc30941/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2e6d652d776562657765622d3030373062612e7376673f7374796c653d666c61742d737175617265266c6f676f3d70617970616c)](https://www.paypal.me/webeweb)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance43

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Recently: every ~41 days

Total

102

Last Release

893d ago

Major Versions

v1.7.3 → v2.0.02018-12-21

v1.7.4 → v2.1.02019-02-14

v2.3.0 → v3.0.02019-05-11

v3.27.0 → v4.0.02022-03-15

PHP version history (3 changes)v1.0.0PHP ^5.6|^7.0

v3.11.0PHP ^7.1

v4.0.0PHP ^7.1|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3af0f8a26f2253921537f363ec984cd5a459cf3f0b3cec0bc70bdb8d8c723612?d=identicon)[webeweb](/maintainers/webeweb)

---

Top Contributors

[![webeweb](https://avatars.githubusercontent.com/u/32354830?v=4)](https://github.com/webeweb "webeweb (1910 commits)")

---

Tags

bootstrapbundlesymfonythemewebewebsymfonybundlethemebootstrapwebeweb

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webeweb-bootstrap-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/webeweb-bootstrap-bundle/health.svg)](https://phpackages.com/packages/webeweb-bootstrap-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[lexik/translation-bundle

This bundle allows to import translation files content into the database and provide a GUI to edit translations.

4362.7M19](/packages/lexik-translation-bundle)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
