PHPackages                             todstoychev/bootstrap-alert-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. todstoychev/bootstrap-alert-bundle

ActiveBundle[Templating &amp; Views](/categories/templating)

todstoychev/bootstrap-alert-bundle
==================================

Symfony bundle used to create Twitter Bootstrap 3 alert boxes.

0.2.0(7y ago)0881MITCSSPHP &gt;=7.1.3

Since Oct 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/todstoychev/bootstrap-alert-bundle)[ Packagist](https://packagist.org/packages/todstoychev/bootstrap-alert-bundle)[ RSS](/packages/todstoychev-bootstrap-alert-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)DependenciesVersions (10)Used By (0)

Installation
============

[](#installation)

Use the standard way:

```
composer require todstoychev/bootstrap-alert-bundle

```

Then include in your AppKernel.php

```
new Todstoychev\BootstrapAlertBundle\TodstoychevBootstrapAlertBundle()
```

Since this bundle uses Twitter Bootstrap 3 components, it comes with Bootstrap 3.3.7 and jQuery 3.1.1. To install them simply run:

```
php bin/console asset:install

```

Symfony will install the assets for you

It will be also necessary to include to your stylesheet list the file named style.css, which is included in the bundle's css directory.

Configuration
=============

[](#configuration)

Add to your application config.yml:

```
twig:
  globals:
    todstoychev_bootstrap_alert:
      use_close_button: true # Allows you to use close button in alert boxes
      use_icons: true # Show icons in alert boxes
      icons:
        error: 'glyphicon glyphicon-close-sign'
        warning: 'glyphicon glyphicon-exclamation-sign'
        info: 'glyphicon glyhicon-info-sign'
        success: 'glyphicon glyphicon-ok-sign'
```

Feel free to use any other icon sets

Usage
=====

[](#usage)

Just include the template in your twig:

```
{% include 'TodstoychevBootstrapAlertBundle::alert.html.twig' %}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Recently: every ~142 days

Total

8

Last Release

2917d ago

PHP version history (2 changes)0.1.1PHP &gt;=5.5.9

0.2.0PHP &gt;=7.1.3

### Community

Maintainers

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

---

Top Contributors

[![todstoychev](https://avatars.githubusercontent.com/u/4498971?v=4)](https://github.com/todstoychev "todstoychev (14 commits)")

### Embed Badge

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

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

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

545.8M69](/packages/symfony-ux-icons)

PHPackages © 2026

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