PHPackages                             bmprbac/yii2-rbac - 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. bmprbac/yii2-rbac

Abandoned → wwwewqeLibrary

bmprbac/yii2-rbac
=================

A awesome message reminder build with toastr for laravel5.\*

v1.0(10y ago)0290MITPHP

Since Nov 21Pushed 10y ago1 watchersCompare

[ Source](https://github.com/xupengli/laravel-reminder)[ Packagist](https://packagist.org/packages/bmprbac/yii2-rbac)[ RSS](/packages/bmprbac-yii2-rbac/feed)WikiDiscussions master Synced 1mo ago

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

laravel-reminder
================

[](#laravel-reminder)

Inspired by [laracasts flash](https://github.com/laracasts/flash)

### install

[](#install)

Using Composer

```
composer require rry/reminder

```

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

```
Rry\Reminder\ReminderServiceProvider::class,
```

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

```
'Reminder'  => Rry\Reminder\ReminderFacade::class,
```

> You can use reminder() function available.

### Dependencies

[](#dependencies)

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

### Basic

[](#basic)

You should add `{!! Reminder::message() !!}` to your html.

Then.

- Reminder::info('foo', 'bar', \[\]);
- Reminder::success('foo', 'bar', \[\]);
- Reminder::warning('foo', 'bar', \[\]);
- Reminder::error('foo', 'bar', \[\]);
- reminder()-&gt;info('foo', 'bar', \[\]);

```
