PHPackages                             whatwedo/twig-bootstrap-icons - 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. whatwedo/twig-bootstrap-icons

ActiveLibrary

whatwedo/twig-bootstrap-icons
=============================

v1.1.2(2y ago)221.4k↑15.6%23MITPHP

Since May 10Pushed 2y ago10 watchersCompare

[ Source](https://github.com/whatwedo/TwigBootstrapIcons)[ Packagist](https://packagist.org/packages/whatwedo/twig-bootstrap-icons)[ RSS](/packages/whatwedo-twig-bootstrap-icons/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (7)Used By (3)

Bootstrap Icons Twig Integration
================================

[](#bootstrap-icons-twig-integration)

Twig Integration for [Bootstrap Icons](https://icons.getbootstrap.com/). This bundle is inspred by [marcw/twig-heroicons](https://github.com/marcw/twig-heroicons).

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

[](#installation)

```
composer require whatwedo/twig-bootstrap-icons
```

### Twig Integration

[](#twig-integration)

Just register the extension

```
$twig->addExtension(new BootstrapIconsExtensions());
```

### Symfony Integration

[](#symfony-integration)

```
// bundles.php
return [
    whatwedo\TwigBootstrapIcons\whatwedoTwigBootstrapIconsBundle::class => ['all' => true],
];
```

Usage
-----

[](#usage)

Outputs the SVG

```
{{ bootstrap_icon('alarm') }}
```

you can pass an array as second argument to add attributes to the ``-tag:

```
{{ bootstrap_icon('alarm', {
    class: 'text-gray-500 mr-3 h-6 w-6'
    alt: 'alarm clock'
}) }}
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.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 ~262 days

Total

5

Last Release

784d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/647483?v=4)[Ueli Banholzer](/maintainers/xarem)[@xarem](https://github.com/xarem)

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

---

Top Contributors

[![rugbymauri](https://avatars.githubusercontent.com/u/5549264?v=4)](https://github.com/rugbymauri "rugbymauri (11 commits)")[![tuxes3](https://avatars.githubusercontent.com/u/5341293?v=4)](https://github.com/tuxes3 "tuxes3 (5 commits)")[![xarem](https://avatars.githubusercontent.com/u/647483?v=4)](https://github.com/xarem "xarem (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/whatwedo-twig-bootstrap-icons/health.svg)

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

###  Alternatives

[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[jason-munro/cypht

Lightweight Open Source webmail written in PHP and JavaScript

1.5k146.0k](/packages/jason-munro-cypht)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1101.2k](/packages/abydahana-aksara)

PHPackages © 2026

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