We have recently launched Ukraine Banners and to make developers life easier, we have decided to make a Laravel package to allow developers to instantly add their banners through Composer.
You can install the package via composer:
composer require wavey/ukraine-bannersOnce you have done this, run the following command:
php artisan ukraine-banners:installThis will automatically publish the config along with the views to /resources/views/vendor/wavey.
Simply add this at the bottom of your layout, just before the </body> tag.
<x-ukraine-banner></x-ukraine-banner>You can modify the banner from your .env file using the following variables:
UKRAINE_BANNER_ENABLED=true
UKRAINE_BANNER_THEME="dark"
UKRAINE_BANNER_SIZE="small"
UKRAINE_BANNER_POSITION="bottom-right"You can also modify the config from the config/ukraine-banners.php file that is published with the install command.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.