Environment-specific favicons for your local
, development
, staging
and live
application environments in Laravel 4.1, 4.2 and 5.x (use the laravel_4_2 branch for older versions)
This package adds environment-specific favicons which will help you differentiate which application environment you are working on when you have multiple browser tabs open for the same app.
I’ve made the mistake of working on the wrong environment in the past — so I created this package in order to help prevent that from happening again!
Require this package using composer:
composer require wdmtech/enviricons
Next, add the following line to your providers
array in config/app.php
:
Wdmtech\Enviricons\EnviriconsServiceProvider::class,
Publish the assets and config to your application using:
php artisan vendor:publish --tag=enviricons --force
Include the default view provided directly in your main blade template like this:
@include('enviricons::enviricons')
…or optionally publish the view to your application's views folder using:
php artisan vendor:publish --tag=enviricons-optional-view --force
You can then modify and include the view in any way you wish.
I have included a source favicon.psd
for you to edit/create new favicons as you see fit. Here is a
.ico file photoshop plugin which you can use to create .ico files in Photoshop.