PHPackages                             codeschubser/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. codeschubser/twig-components-bundle

Abandoned → [codeschubser/bootstrap-twig-components-bundle](/?search=codeschubser%2Fbootstrap-twig-components-bundle)ArchivedSymfony-bundle[Templating &amp; Views](/categories/templating)

codeschubser/twig-components-bundle
===================================

Bootstrap Twig Components bundle for Symfony

v0.8(1y ago)741[4 PRs](https://github.com/codeschubser/bootstrap-twig-components-bundle/pulls)MITPHPPHP &gt;=8.2CI passing

Since Feb 4Pushed 5mo ago1 watchersCompare

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

READMEChangelogDependencies (10)Versions (14)Used By (0)

Bootstrap Twig Components Bundle (experimental)
===============================================

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

[![GitHub Actions Workflow Status](https://camo.githubusercontent.com/1a44879db7ba023eba46e28a232edc38b00a2e6a518bc914f64e682e8821b2c7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f636f646573636875627365722f747769672d636f6d706f6e656e74732d62756e646c652f63692e796d6c)](https://github.com/codeschubser/twig-components-bundle/actions/workflows/ci.yml)[![GitHub Tag](https://camo.githubusercontent.com/d2a3bf526f7a8236fe01dc0cb804188ca415b689689a69e82e5c3e323116b691/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f636f646573636875627365722f747769672d636f6d706f6e656e74732d62756e646c65)](https://github.com/codeschubser/twig-components-bundle/tags)[![codecov](https://camo.githubusercontent.com/c03047c5175e1e2d479877cc5087fa4cd3896a145d688ea915605a732a636975/68747470733a2f2f636f6465636f762e696f2f67682f636f646573636875627365722f747769672d636f6d706f6e656e74732d62756e646c652f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d3633303348395436585a)](https://codecov.io/gh/codeschubser/twig-components-bundle)[![GitHub License](https://camo.githubusercontent.com/267b08bf8835965942d9af67703330a466546bb6a753c6014a2b30250aea697b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f646573636875627365722f747769672d636f6d706f6e656e74732d62756e646c65)](https://github.com/codeschubser/twig-components-bundle/blob/master/LICENSE)

Warning

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

A Symfony bundle for the [Twig Components](https://symfony.com/bundles/ux-twig-component/current/index.html) library.

This bundle allows you to create robust and reusable Twig components.

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

[](#requirements)

- PHP 8.2 or higher
- Symfony 6.0 or higher

Features
--------

[](#features)

All components are [Bootstrap](https://getbootstrap.com/) ready. Recommend version is v5.3 or higher. Some components can be extended with icons. [Bootstrap Icons](https://icons.getbootstrap.com/) and [Font Awesome](https://fontawesome.com/) were tested. But other icons are also possible.

Accessibility
-------------

[](#accessibility)

- Optional icons are hidden from the [accessibility API](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-hidden).
- Alerts are decorated with `role="alert"` to send accessible alert event to assistive technology products.
- Dropdowns are decorated with `aria-expanded` and `aria-current`.
- Icons in components are decorated with `aria-hidden` or `aria-label`.

Usage
-----

[](#usage)

- [Installation](docs/index.md)
- Components
    - [Alert](docs/alert.md) *Provide contextual feedback messages for typical user actions with a handful of available and flexible options.*
    - [Button](docs/button.md) *Provide buttons with support for multiple variants, icon, states, and more.*
    - [Breadcrumbs](docs/breadcrumbs.md) *Provide breadcrumb navigation with valid schema.org markup*
    - [Card](docs/cards.md) *Provide flexible content containers.*
    - [Dropdown](docs/dropdown.md) *Toggleable and contextual overlays.*
    - [Icon](docs/icon.md) *Reusable icon component*
    - Modal *TBD*
    - Toast *TBD*

Development
-----------

[](#development)

During development, composer provides a large number of user-specific scripts that are intended to ensure code quality, among other things. A list and the corresponding description can be called up via `composer list`. These scripts are also used in the Github workflows.

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

34

—

LowBetter than 77% of packages

Maintenance62

Regular maintenance activity

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.7% 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 ~8 days

Recently: every ~15 days

Total

9

Last Release

398d ago

PHP version history (2 changes)v0.1PHP &gt;=8.1

v0.6PHP &gt;=8.2

### 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 (101 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (29 commits)")

---

Tags

codeschubsercomponentsreusablereusable-componentssymfonysymfony-bundletwigtwig-componentssymfonytwigcomponentsbootstrapreusablecodeschubser

### Embed Badge

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

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

###  Alternatives

[symfony/ux-twig-component

Twig components for Symfony

21914.8M162](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1635.6M72](/packages/symfony-ux-live-component)[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)[nucleos/antispam-bundle

This bundle provides some basic features to reduce spam in symfony forms.

52105.1k](/packages/nucleos-antispam-bundle)[boekkooi/jquery-validation-bundle

Jquery form validation bundle for symfony 2

2773.9k1](/packages/boekkooi-jquery-validation-bundle)

PHPackages © 2026

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