PHPackages                             arvin/toastr-for-laravel - 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. arvin/toastr-for-laravel

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

arvin/toastr-for-laravel
========================

toastr.js for laravel5

1.0(9y ago)027MITPHP

Since Mar 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/839891627/toastr-for-laravel5)[ Packagist](https://packagist.org/packages/arvin/toastr-for-laravel)[ RSS](/packages/arvin-toastr-for-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

README

### Installation

[](#installation)

1. Run `composer require arvin/toastr-for-laravel`
2. Add `Arvin\Toastr\ToastrServiceProvider::class`, to **providers** in `config/app.php`
3. Add `'Toastr' => Arvin\Toastr\Facades\Toastr::class`, to **aliases** in `config/app.php`
4. Run `php artisan vendor:publish`

### Usage

[](#usage)

Just add this code to your blade template file:

```
{!! Toastr::render() !!}
```

Use these methods in controllers:

```
Toastr::warning($message, $title = null, $options = [])
Toastr::error($message, $title = null, $options = [])
Toastr::info($message, $title = null, $options = [])
Toastr::success($message, $title = null, $options = [])
Toastr::clear()
```

#### Config

[](#config)

set the toaster options in `config/toastr.php` , available options =&gt; [toastr.js demo](http://codeseven.github.io/toastr/demo.html)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Unknown

Total

1

Last Release

3334d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/112771c90d2c59d4b34869bf3252b7134d5881e78865fc64520b415ff307804a?d=identicon)[arvin](/maintainers/arvin)

---

Tags

composer

### Embed Badge

![Health badge](/badges/arvin-toastr-for-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/arvin-toastr-for-laravel/health.svg)](https://phpackages.com/packages/arvin-toastr-for-laravel)
```

###  Alternatives

[permafrost-dev/phpcsfixer-preset

shared php-cs-fixer rules &amp; finders preset

226.5k1](/packages/permafrost-dev-phpcsfixer-preset)[infocyph/uid

UUID (RFC 4122 + Unofficial/Draft), ULID, Snowflake ID, Sonyflake ID, TBSL (library exclusive) generator!

105.1k](/packages/infocyph-uid)

PHPackages © 2026

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