承接 sintret/yii2-basic 相关项目开发

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

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

sintret/yii2-basic

最新稳定版本:v1.6.0

Composer 安装命令:

composer create-project sintret/yii2-basic

包简介

Yii 2 Basic Application Template

README 文档

README

Super fast create application using Yii2 Basic Template with feature like adminlte, chat, whatapp messaging, ckeditor, todolist, whatsapp, graphic, signup form, easy rbac manager using dbmanager and many many feature

Plese read other tutorial at http://sintret.com/blog_detail/523/yii2_create_project_with_adminlte_basic_and_advanced_easyly

BASIC TEMPLATE

Go to your project directory, case in my linux debian as cd /usr/share/nginx/html/project

we will using composer to download and install application template with adminlte.

lets get with your console:

composer create-project sintret/yii2-basic your-folder-directory-name

you just get coffe and waiting until download and instalation process done. ok, and then go to your project directory and execute init with "php init".

edit your config db.php and change your dbname

dsn' => 'mysql:host=localhost;dbname=yii2basic',

dont forget to create database with the same configuration as dbname.

we need migrate to create table chat, user, todolist,log upload,dynagrid, notification.

After its done, you need migration like these following "./yii migrate" in linux, or in windows "yii migrate".

ok, we need again to user

just using like these following code :

"yii insert/init"

finaly we create rbac dbmanager with simple code, you can see in folder "console/RbacController" with specific level for :

Admin : can do everything
Editor : can edit, add and view
Author : can add and view
viewer ; just viewer

create rbac :

"yii migrate --migrationPath=@yii/rbac/migrations"

"yii rbac/init"

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 3
  • 开发语言: HTML

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-03-10