PHPackages                             palmtree/bootstrap-alerts - 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. palmtree/bootstrap-alerts

ActiveLibrary

palmtree/bootstrap-alerts
=========================

Bootstrap alerts

v2.0.1(1y ago)01.2k[1 PRs](https://github.com/palmtreephp/bootstrap-alerts/pulls)MITPHPPHP &gt;=8.1

Since Jul 22Pushed 1y ago2 watchersCompare

[ Source](https://github.com/palmtreephp/bootstrap-alerts)[ Packagist](https://packagist.org/packages/palmtree/bootstrap-alerts)[ RSS](/packages/palmtree-bootstrap-alerts/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (9)Used By (0)

Palmtree Bootstrap Alerts
=========================

[](#palmtree-bootstrap-alerts)

[![License](https://camo.githubusercontent.com/52ba8dd05c31694b02e11f9a7d628df037ac77406b813bd5df00e14f43004331/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f70616c6d747265652f626f6f7473747261702d616c657274732e737667)](LICENSE)

Bootstrap alert manager for PHP projects.

Add and display [bootstrap alerts](https://getbootstrap.com/docs/4.1/components/alerts/) with relevant [Font Awesome](https://fontawesome.com/icons) icons

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

[](#requirements)

- PHP &gt;= 8.1

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

[](#installation)

Use composer to add the package to your dependencies:

```
composer require palmtree/bootstrap-alerts
```

Usage
-----

[](#usage)

Echoing the AlertManager class will invoke `__toString()` on each alert and return a concatenated string of HTML.

```
