PHPackages                             faisal-arbain/alert - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. faisal-arbain/alert

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

faisal-arbain/alert
===================

Simple bootstrap alert

3722PHP

Since Feb 5Pushed 12y ago1 watchersCompare

[ Source](https://github.com/faisalarbain/Alert)[ Packagist](https://packagist.org/packages/faisal-arbain/alert)[ RSS](/packages/faisal-arbain-alert/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel 4 simple Bootstrap Alert
--------------------------------

[](#laravel-4-simple-bootstrap-alert)

[![Build Status](https://camo.githubusercontent.com/80a59e406a7c3d640ed5ab8da256b5b0eb179ef47b6d15acbffbeb7b11823dd6/68747470733a2f2f7472617669732d63692e6f72672f66616973616c61726261696e2f416c6572742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/faisalarbain/Alert)

Simple implementation for Bootstrap Alert in Laravel.

### Installation

[](#installation)

To get the lastest version of Alert simply require it in your `composer.json` file.

```
"faisal-arbain/alert": "dev-master"

```

You'll then need to run `composer install` to download it and have the autoloader updated.

Once Alert is installed you need to register the service provider with the application. Open up `app/config/app.php` and find the `providers` key.

```
'providers' => array(

    'FaisalArbain\Alert\AlertServiceProvider'

)

```

Alert also ships with a facade which provides the static syntax for creating collections. You can register the facade in the `aliases` key of your `app/config/app.php` file.

```
'aliases' => array(

    'Alert'  => 'FaisalArbain\Alert\Facades\Alert'

)

```

Usage
-----

[](#usage)

1. Adding new alert to flash session

    ```
     Alert::add("success", "succesfully saved!");

    ```

    Supported types are `success`, `error`, `info`, `warning`
2. Then render the alerts on redirected page

    ```
    Alert::render();

    ```

Support or Contact
------------------

[](#support-or-contact)

If you have some problem, Contact `faisal.arbain@flavert.com`

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3272337?v=4)[Muhammad Faisal Arbain](/maintainers/faisalarbain)[@faisalarbain](https://github.com/faisalarbain)

### Embed Badge

![Health badge](/badges/faisal-arbain-alert/health.svg)

```
[![Health](https://phpackages.com/badges/faisal-arbain-alert/health.svg)](https://phpackages.com/packages/faisal-arbain-alert)
```

###  Alternatives

[anycable/laravel-broadcaster

AnyCable broadcaster for Laravel

915.3k](/packages/anycable-laravel-broadcaster)

PHPackages © 2026

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