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(8y ago)0881MITCSSPHP &gt;=7.1.3

Since Oct 23Pushed 8y 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 4w 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 41% 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

2968d 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

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

281.8k](/packages/webkinder-sproutset)

PHPackages © 2026

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