wdmtech/enviricons

Environment-specific favicons for local, development and staging environments in Laravel

2.0.3 2015-11-20 19:20 UTC

This package is not auto-updated.

Last update: 2024-04-13 15:06:34 UTC


README

Latest Stable Version Latest Unstable Version Total Downloads Code Climate License Demonstration screenshot

Laravel 5 Enviricons

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)

What does this do?

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!

Usage

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.

Source .psd

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.