定制 zorinpavel/yii2-star-rating 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

zorinpavel/yii2-star-rating

Composer 安装命令:

composer require zorinpavel/yii2-star-rating

包简介

A Yii2 widget for the simple star-rating plugin with captions and colors

README 文档

README

GitHub license GitHub Release

A Yii2 widget for the simple star-rating plugin with fractional rating support

How does it work

composer require zorinpavel/yii2-star-rating
<?php

use zorinpavel\StarRating\StarRatingWidget;

echo StarRatingWidget::widget([
    'id' => 'feedback-id',
    // name for the input field
    'name' => 'feedback',
    'value' => false,
    // how many stars do you want
    'stars' => 5,
    // switch off user interaction
    'disabled' => false,
    // input field will be with required attribute
    'required' => true,
    // you can specify captions for each star
    'starCaptions' => [
        0 => 'nothing',
        1 => 'bad',
        2 => 'sad',
        3 => 'ok',
        4 => 'good',
        5 => 'very good',
    ],
]);

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-05-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固