qplot/environment-color

Environment Color for Laravel
44 1
Install
composer require qplot/environment-color
Latest Version:0.1.0
PHP:>=5.3.0
License:MIT
Last Updated:Jun 19, 2014
Links: GitHub  ·  Packagist
Maintainer: windmaomao

Environment Color for Laravel 4

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

Related Packages

xetaio/xetaravel-local

A simple package that regroup all tools to work in local environment.

813 2
whitecube/laravel-timezones

Store UTC dates in the database and work with custom timezones in the applicatio...

211,867 108
lucasmichot/laraveldotenv

Easily set environment variables to your Laravel project, speed-up deployment wi...

103 6
indragunawan/laravel-env-handler

Laravel 5 artisan command to handling the environment configuration (.env)

57 6
subscribo/environment

Package Environment is for getting current environment

80 0