wavey/ukraine-banners
Composer 安装命令:
composer require wavey/ukraine-banners
包简介
🇺🇦 Ukraine Support Banners for your Laravel Application.
README 文档
README
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.
Installation
You can install the package via composer:
composer require wavey/ukraine-banners
Once you have done this, run the following command:
php artisan ukraine-banners:install
This will automatically publish the config along with the views to /resources/views/vendor/wavey.
Usage
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.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-03-11