Download the PHP package catap97/laravel-envicon without Composer
On this page you can find all versions of the php package catap97/laravel-envicon. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download catap97/laravel-envicon
More information about catap97/laravel-envicon
Files in catap97/laravel-envicon
Package laravel-envicon
Short Description Use a different favicon depending on your current runtime environment
License MIT
Homepage https://github.com/CataP97/laravel-envicon
Informations about the package laravel-envicon
Laravel Envicon
This package allows you to display a custom favicon depending on your runtime environment. This makes it easy to identify immediately on which environment you're browsing.
Install
Via Composer
Once the package is installed, you'll need to publish the configuration to link your environments to custom favicons.
If you want to use the default envicons provided by this package, run
the following command that will copy them in your public/favicons
folder.
Usage
Simply use the provided helper in place of your favicon's URL. This will return the favicon that matches your current runtime environment.
If you need the URL of a favicon for a specific environment, use the following statement instead. You'll need to pass the environment's name as the first parameter.
Testing
Tests can be run using the following composer script.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-envicon with dependencies
illuminate/support Version ^9.0 || ^10.0 || ^11.0 || ^12.0