PHPackages                             simonmarcellinden/toast - 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. simonmarcellinden/toast

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

simonmarcellinden/toast
=======================

Toast Package fo Laravel. Shows toast messages on your Laravel project

1.2.1(5y ago)013MITPHP

Since Apr 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/SimonMarcelLinden/toast)[ Packagist](https://packagist.org/packages/simonmarcellinden/toast)[ Docs](https://github.com/simonmarcellinden/toast)[ RSS](/packages/simonmarcellinden-toast/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Laravel Toast
=============

[](#laravel-toast)

[![Latest Version on Packagist](https://camo.githubusercontent.com/23d2f241fd3b8c4acd44779370345c331fd0258d23aa5a3aad3041a1a25cee7b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73696d6f6e6d617263656c6c696e64656e2f746f6173742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simonmarcellinden/toast)[![Total Downloads](https://camo.githubusercontent.com/595ee52daa806ef9b15042f6b8878a7ebb3179f8a0c51b0cacf3349d90f2437e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73696d6f6e6d617263656c6c696e64656e2f746f6173742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simonmarcellinden/toast)

This is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

Via Composer

```
$ composer require simonmarcellinden/toast
```

### Laravel &lt;= 5.4

[](#laravel--54)

Add the service provider to `config/app.php`

```
SimonMarcelLinden\Toast\ToastServiceProvider::class,
```

Optionally include the Facade in config/app.php if you'd like.

```
'Toast'  => SimonMarcelLinden\Toast\Facades\Toast::class,
```

### Options

[](#options)

For publish the toast config file use the follow command Run:

```
php artisan vendor:publish
```

Usage
-----

[](#usage)

### Basic

[](#basic)

- Toast::info('message', 'title', \['options'\]);

Add a Toast message directly into your route or controller

```
