承接 yii2mod/yii2-star-rating 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

yii2mod/yii2-star-rating

最新稳定版本:1.2

Composer 安装命令:

composer require yii2mod/yii2-star-rating

包简介

Star rating widget based on jQuery Raty https://github.com/wbotelhos/raty

关键字:

README 文档

README

Star Rating Widget for Yii 2


Star Rating widget based on Raty extension https://github.com/wbotelhos/raty

Latest Stable Version Total Downloads License

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist yii2mod/yii2-star-rating "*"

or add

"yii2mod/yii2-star-rating": "*"

to the require section of your composer.json.

Usage

Once the extension is installed, simply add widget to your page as follows:

  1. Usage with ActiveForm and model
echo $form->field($model, 'attribute')->widget(\yii2mod\rating\StarRating::class, [
    'options' => [
        // Your additional tag options
    ],
    'clientOptions' => [
        // Your client options
    ],
]);
  1. Usage without a model
echo \yii2mod\rating\StarRating::widget([
    'name' => 'input_name',
    'value' => 5,
    'clientOptions' => [
       // Your client options
    ],
 ]);

Star Rating Options

You can find them on the options page

Support us

Does your business depend on our contributions? Reach out and support us on Patreon. All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.

统计信息

  • 总下载量: 15.49k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 19
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 18
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-03-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固