PHPackages                             mitopp/bootstrap-twig-components-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. [Templating &amp; Views](/categories/templating)
4. /
5. mitopp/bootstrap-twig-components-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

mitopp/bootstrap-twig-components-bundle
=======================================

Useful Twig Components for the Bootstrap framework.

v0.3.0(5mo ago)11.3k↓45.7%MITPHPPHP &gt;=8.2CI passing

Since Dec 17Pushed 5mo agoCompare

[ Source](https://github.com/mitopp/bootstrap-twig-components-bundle)[ Packagist](https://packagist.org/packages/mitopp/bootstrap-twig-components-bundle)[ Docs](https://github.com/mitopp/bootstrap-twig-components-bundle)[ RSS](/packages/mitopp-bootstrap-twig-components-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

Bootstrap Twig Components Bundle
================================

[](#bootstrap-twig-components-bundle)

Warning

This Bundle is experimental and subject to change in a future release.

This bundle allows you to create robust and reusable [Twig components](https://symfony.com/bundles/ux-twig-component/current/index.html), styled by the [Bootstrap Framework](https://getbootstrap.com/). This bundle does not deliver Bootstrap CSS/JavaScript itself. This keeps control of the user.

Requirements
------------

[](#requirements)

- PHP v8.2.x
- Symfony v7.3.x
- Bootstrap v5.3.x

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

[](#installation)

Run the following command to install:

```
$ composer require mitopp/bootstrap-twig-components-bundle
```

If you use `Symfony Flex` in your application, you are ready. Otherwise, keep reading because you need to perform some manual configuration.

### Manual Configuration for Applications Not Using Symfony Flex

[](#manual-configuration-for-applications-not-using-symfony-flex)

In most Symfony applications **you don't need to make any of the following changes**. These steps are only required for applications that have opted not to use Symfony Flex.

First, register two bundles in your application. Edit the `config/bundles.php`file and add the following:

```
return [
    // ...
    Mitopp\BootstrapTwigComponentsBundle\BootstrapTwigComponentsBundle::class => ['all' => true],
    // ...
];
```

That's all! You are now ready to use TwigComponents in your application.

Components
----------

[](#components)

- [Alert](docs/Alert.md) for contextual feedback messages.
- [Button](docs/Button.md) for actions in forms, dialogs, and more.
    - Link *TBD*
- Card *TBD*
- Icon *TBD*
- Modal *TBD*
- Toast *TBD*

Contributing
------------

[](#contributing)

If you want to contribute to the project and make it better, your help is very welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

License
-------

[](#license)

This bundle is licensed under the [MIT License](LICENSE).

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance73

Regular maintenance activity

Popularity22

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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 ~0 days

Total

4

Last Release

151d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cbe4e1bd0cadd57bbc477b5339cf9ae196afe01467cdd17f78b6f3eaad41c6fb?d=identicon)[mitopp](/maintainers/mitopp)

---

Top Contributors

[![mitopp](https://avatars.githubusercontent.com/u/5371265?v=4)](https://github.com/mitopp "mitopp (22 commits)")

---

Tags

bootstrapsymfony-bundletwig-components

### Embed Badge

![Health badge](/badges/mitopp-bootstrap-twig-components-bundle/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91492.0M315](/packages/twig-extra-bundle)[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)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

555.8M69](/packages/symfony-ux-icons)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

1432.0k](/packages/symfony-ux-toolkit)

PHPackages © 2026

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