承接 eapanel/yii2-webapp-start 相关项目开发

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

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

eapanel/yii2-webapp-start

Composer 安装命令:

composer create-project eapanel/yii2-webapp-start

包简介

Yii 2 web application start template

README 文档

README

Yii 2 Web Application Start Template is a skeleton Yii 2 application best for rapidly creating small projects.

DIRECTORY STRUCTURE

  commands/           contains console commands (controllers)
  config/             contains application configurations
  mail/               contains view files for e-mails
  messages/           contains common translation files
  migrations/         contains migrations classes
  modules/
  runtime/            contains files generated during runtime
  tests/              contains various tests for the basic application
  themes/             содержит темы оформления
  vendor/             contains dependent 3rd-party packages
  web/                contains the entry script and Web resources

REQUIREMENTS

The minimum requirement by this application template that your Web server supports PHP 5.4.0.

INSTALLATION

Install via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install this application template using the following command:

php composer.phar global require "fxp/composer-asset-plugin:~1.1.1"
php composer.phar create-project --prefer-dist --stability=dev eapanel/yii2-webapp-start new_app

Now you should be able to access the application through the following URL, assuming new_app is the directory directly under the Web root.

http://localhost/new_app/web/

CONFIGURATION

Database

Edit the file config/common.php with real data.

NOTE: Yii won't create the database for you, this has to be done manually before you can access it.

Also check and edit the other files in the config/ directory to customize your application.

Migrations

yii migrate --migrationPath=@yii/rbac/migrations
yii migrate --migrationPath=@dektrium/user/migrations
yii migrate

统计信息

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

GitHub 信息

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

其他信息

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