omatech/laravel-env-corner-component is a Laravel package.
It currently has 1 GitHub stars and 59 downloads on Packagist (latest version 0.10.0).
Install it with composer require omatech/laravel-env-corner-component.
Discover more Laravel packages by omatech
or browse all Laravel packages to compare alternatives.
Last updated
Do you have the classic client that confuses the production environment with the testing environment? This simple package is your solution! This prints a banner in the lower right corner to remember the current environment.
composer require omatech/laravel-env-corner-component
php artisan vendor:publish
Omatech\EnvCornerComponent\App\Providers\PublishServiceProvider
</body> tag.@include('components.vendor.corner')
/config/env-corner-component.phpreturn [
'enabled' => true,
'renderWhen' => [
'test', 'preprod', 'preproduction'
]
];
Disable the component by setting the option enabled to false.
Customize the banner by modifying the component: views/components/vendor/corner.blade.php
See the contributors list here.