jasonstelzer/flashes
Composer 安装命令:
composer require jasonstelzer/flashes
包简介
Laravel 5 flash messages
关键字:
README 文档
README
This is a package for flash messages in Laravel 5. It is based off of a tutorial by Jeffrey Way at Laracasts. More documentation coming soon.
Install
In app/config/app.php, add the following lines:
In the providers array
jstelz\Flashes\FlashesServiceProvider::class,
In the aliases array
jstelz\Flashes\Flashes::class,
Usage
Flashes::info('This is an informational message'); Flashes::success('This is a success message'); Flashes::warning('This is a warning message'); Flashes::error('This is an error message');
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-30