kmlpandey77/label
Composer 安装命令:
composer require kmlpandey77/label
包简介
labels
README 文档
README
A package for handling websites title and content dynamically.
Installation
composer require Kmlpandey77/label
This package will be automatically register.
All you have to do is migrate the table by using php artisan migrate command from terminal.
Next you have to publish config file with:
php artisan vendor:publish --provider="Kmlpandey77\Label\Provider\LabelServiceProvider" --tag="config"
Now, You want to change view file.You can modify as your requirement using:
php artisan vendor:publish --provider="Kmlpandey77\Label\Provider\LabelServiceProvider" --tag="views"
Usage
You can change your middleware and prefix as your own in config/label.php
return [ /* *for multiple language array */ 'lang' => [ 'en', //'np', //'fr' ], /* modify prefix here */ 'prefix' => 'admin', /* modify middleware here */ 'middleware' => ['web'], ];
统计信息
- 总下载量: 75
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-02-08