buruhdev / laravel-sbadmin
SBAdmin 模板
v1.0.1
2023-09-18 15:05 UTC
Requires
- php: ^8.0
README
此包可以帮助您将 bootstrap sbadmin 模板添加到您的 Laravel 应用中。
安装
您可以通过 composer 安装此包
composer require buruhdev/laravel-sbadmin
您可以使用以下命令发布配置文件
php artisan vendor:publish --provider="Buruhdev\Sbadmin\SbadminServiceProvider" --tag="config"
这是已发布配置文件的内容
return [ /* |-------------------------------------------------------------------------- | Author Name |-------------------------------------------------------------------------- | | This value allow you to change author meta tag in HTML head | */ 'author' => '', /* |-------------------------------------------------------------------------- | Description |-------------------------------------------------------------------------- | | This value allow you to change description meta tag in HTML head | */ 'description' => '', /* |-------------------------------------------------------------------------- | Privacy Policy Link |-------------------------------------------------------------------------- | | This option allow you to show or hide the 'privacy policy' link | at the bottom of SBAdmin theme and adjust the link to page | or file of your website policy and privacy declaration | */ 'show_privacy_policy_link' => true, 'privacy_policy_link' => 'https://', /* |-------------------------------------------------------------------------- | Terms and Conditions Link |-------------------------------------------------------------------------- | | This option allow you to show or hide the 'Terms & Conditions' link | at the bottom of SBAdmin theme and adjust the link to page | or file of your website terms & conditions declaration | */ 'show_terms_conditions_link' => true, 'terms_conditions_link' => 'https://', ];
最后,您需要使用以下命令发布视图
php artisan vendor:publish --provider="Buruhdev\Sbadmin\SbadminServiceProvider" --tag="sbadmin-theme"
用法
您可以使用发布的视图开始使用 sbadmin 主题
测试
composer test
变更日志
请参阅CHANGELOG以获取有关最近更改的更多信息。
贡献
请参阅CONTRIBUTING以获取详细信息。
致谢
许可证
MIT 许可证 (MIT)。有关更多信息,请参阅许可证文件。