frostealth/yii2-api-advanced 问题修复 & 功能扩展

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

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

frostealth/yii2-api-advanced

Composer 安装命令:

composer create-project frostealth/yii2-api-advanced

包简介

Yii 2 Advanced API Template

README 文档

README

Yii 2 Advanced API Template is a skeleton Yii 2 application best for complex API applications with multiple tiers.

The template includes two tiers: api and console, each of which is a separate Yii application.

The template is designed to work in a team development environment. It supports deploying the application in different environments.

INSTALLATION

Install via Composer

Run the Composer commands to install:

composer global require fxp/composer-asset-plugin ~1.1.1
composer create-project --prefer-dist frostealth/yii2-api-advanced my-api

Preparing application

After you install the application, you have to copy the .env.example file to .env and fill-in your own values.

DIRECTORY STRUCTURE

common
    config/                  contains shared configurations
    mail/                    contains view files for e-mails
    models/                  contains model classes used in both console and api
console
    config/                  contains console configurations
    controllers/             contains console controllers (commands)
    migrations/              contains database migrations
    models/                  contains console-specific model classes
    runtime/                 contains files generated during runtime
api
    config/                  contains api configurations
    common/
        controllers/         contains shared api-specific controllers
        models/              contains shared api-specific model classes
    runtime/                 contains files generated during runtime
    versions/                contains api versions as modules
        v1/
            controllers/     contains version-specific controllers
            models/          contains version-specific model classes
    web/                     contains the entry script
vendor/                      contains dependent 3rd-party packages

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-12-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固