yii2learning/yii2-chart-builder

从 SQL 创建图表

安装: 501

依赖: 0

建议者: 0

安全: 0

星标: 9

关注者: 4

分支: 4

开放问题: 3

类型:yii2-extension

0.1.4 2017-09-08 04:12 UTC

This package is not auto-updated.

Last update: 2024-09-15 04:00:22 UTC


README

从 SQL 创建图表

安装

安装此扩展的首选方式是通过 composer

运行以下命令之一:

php composer.phar require --prefer-dist yii2learning/yii2-chart-builder "*"

或者将以下内容添加到您的 composer.json 文件的 require 部分中:

   "yii2learning/yii2-chart-builder": "@dev"

配置模块

'modules' => [
    'chartbuilder'=>[
        'class'=> 'yii2learning\chartbuilder\Module'
    ],
    'gridview' =>  [
        'class' => '\kartik\grid\Module',
    ]
];

迁移数据库

./yii migrate/up -p=@yii2learning/chartbuilder/migrations