qplot/environment-color
Composer 安装命令:
composer require qplot/environment-color
包简介
Environment Color for Laravel
README 文档
README
Adds an environment indicator color bar to either top or bottom of all pages to indicate if you are working in 'local' or 'production' environment.
Use config.php to change position, and colors for default or 'local' environment.
The color bar is set to be enabled when debug mode is on by default.
Installation
Add package to the composer.json file
"require": {
"qplot/environment-color": "dev-master"
Then run composer update,
composer update
Add provider app/config/app.php file
'providers' => array(
'QPlot\EnvironmentColor\ColorServiceProvider'
To change settings app/config/packages/qplot/environment-color/config.php, you need to first publish config file,
php artisan config:publish qplot/environment-color
Todo
- Make bar height adjustable
Changelog
0.1.0
- Add service provider
统计信息
- 总下载量: 44
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-06-17