This package displays a top-left corner ribbon with APP_ENV value & version number on all pages
Install via composer
composer require perspikapps/laravel-envribbon
php artisan vendor:publish --provider="Perspikapps\LaravelEnvRibbon\EnvRibbonServiceProvider"
Version is handled by avto-dev/app-version-laravel package: fill in VERSION
file at project root.
Fill in configuration according to your needs:
return [
'enabled' => env('APP_RIBBON', true),
'environments' => [
'production' => [
'visible' =>
env('APP_DEBUG', false),
'color' => 'limeGreen',
],
'staging' => [
'visible' => true,
'color' => 'darkorange',
],
'*' => [
'visible' => true,
'color' => 'crimson',
]
]
];
If you discover any security related issues, please email instead of using the issue tracker.