jxlwqq/star-rating
最新稳定版本:1.0.1
Composer 安装命令:
composer require jxlwqq/star-rating
包简介
Star Rating extension for laravel-admin.
README 文档
README
This is a laravel-admin extension that integrates bootstrap-star-rating into laravel-admin.
Screenshot
Installation
composer require jxlwqq/star-rating php artisan vendor:publish --tag=laravel-admin-star-rating
Update
composer require jxlwqq/star-rating php artisan vendor:publish --tag=laravel-admin-star-rating --force
Configuration
In the extensions section of the config/admin.php file, add some configuration that belongs to this extension.
'extensions' => [ 'star-rating' => [ // set to false if you want to disable this extension 'enable' => true, // configuration 'config' => [ 'min' => 1, 'max' => 5, 'step' => 1, 'size' => 'xs', 'language' => 'zh', ] ] ]
More configuration can be found in the Bootstrap Star Rating Document.
Usage
Use it in the form form:
$form->starRating('rate');
More resources
License
Licensed under The MIT License (MIT).
统计信息
- 总下载量: 6.21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 22
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-09-12