PHPackages                             mvs3d/laravel-toastr - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. mvs3d/laravel-toastr

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

mvs3d/laravel-toastr
====================

toastr.js for laravel 5.5

1.0.2(8y ago)018MITPHPPHP &gt;=5.6.4

Since Jul 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mvs3d/laravel-toastr)[ Packagist](https://packagist.org/packages/mvs3d/laravel-toastr)[ Docs](https://github.com/mvs3d/laravel-toastr)[ RSS](/packages/mvs3d-laravel-toastr/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (6)Used By (0)

laravel-toastr for laravel 5.5
==============================

[](#laravel-toastr-for-laravel-55)

### install

[](#install)

Using Composer

```
composer require mvs3d/laravel-toastr

```

With laravel 5.5 you do not have to add serviceprovider manually Laravel 5.5 has auto discovery

### Options

[](#options)

You can set custom options for Reminder. Run:

```
php artisan vendor:publish

```

to publish the config file for toastr.

You can see [toastr's documentation](http://codeseven.github.io/toastr/demo.html) to custom your need.

> You can use toastr() function available.

### Dependencies

[](#dependencies)

jQuery [toast](https://github.com/CodeSeven/toastr), you need to add css and js to your html.

### Basic

[](#basic)

- Toastr::info('message', 'title', \['options'\]);
- Toastr::success('message', 'title', \['options'\]);
- Toastr::warning('message', 'title', \['options'\]);
- Toastr::error('message', 'title', \['options'\]);
- Toastr::clear();
- Toastr()-&gt;info('message', 'title', \['options'\]);

```
