nill/yii2-slider-module 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

nill/yii2-slider-module

Composer 安装命令:

composer require nill/yii2-slider-module

包简介

Slideshow module for Yii2-start

README 文档

README

Slideshow module for Yii2-Start application.

Requirements

This module is used with Yii2-Start application yii2-start.

Installation

Install via Composer

The preferred way to install this extension is through composer.

Either run

php composer.phar require nill/yii2-slider-module "dev-master"

or add

"nill/yii2-slider-module": "dev-master"

to the require section of your composer.json file.

Install from an Archive File

Download and extract the zip-file into the folder with your project

/my/path/to/yii2-start/vendor/nill/yii2_slider_module

Configuration

  • Add module to [backend] config section:
'modules' => [
    'slider' => [
        'class' => 'nill\slider\Module'
    ]
]
  • Add alias to "common\config\aliases.php":
Yii::setAlias('backend', dirname(dirname(__DIR__)) . '/backend');
  • Add module to extensions "vendor\yiisoft\extensions.php":
'nill/slider' => 
    array (
        'name' => 'nill/yii2-slider-module',
        'version' => '0.1.0.0',
        'alias' => 
        array (
            '@nill/slider' => $vendorDir . '/nill/yii2-slider-module',
    ),
    'bootstrap' => 'nill\\slider\\Bootstrap',
), 
  • Create a new table in your database from file: yii2_start_slider.sql

OR: Apply migration with console commands:

php yii migrate --migrationPath=@nill/slider/migrations

  • RBAC settings: For usage modules create Role "administrateSlider"
http://my.domain/backend/rbac/permissions/index/

You can also create other roles and change their behavior in the controller module

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2014-11-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固