2017 © Pedro Peláez
 

project yii2-api-advanced

Yii 2 Advanced API Template

image

frostealth/yii2-api-advanced

Yii 2 Advanced API Template

  • Saturday, February 20, 2016
  • by frostealth
  • Repository
  • 1 Watchers
  • 0 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 10 % Grown

The README.md

Yii 2 Advanced API Template

Yii 2 Advanced API Template is a skeleton Yii 2 application best for complex API applications with multiple tiers., (*1)

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

The template is designed to work in a team development environment. It supports deploying the application in different environments., (*3)

INSTALLATION

Install via Composer

Run the Composer commands to install:, (*4)

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., (*5)

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

The Versions

20/02 2016

dev-master

9999999-dev

Yii 2 Advanced API Template

  Sources   Download

MIT

The Requires

 

The Development Requires

api framework yii2 advanced project template

20/02 2016

1.1.1

1.1.1.0

Yii 2 Advanced API Template

  Sources   Download

MIT

The Requires

 

The Development Requires

api framework yii2 advanced project template

15/01 2016

1.1.0

1.1.0.0

Yii 2 Advanced API Template

  Sources   Download

MIT

The Requires

 

The Development Requires

api framework yii2 advanced project template

18/12 2015

1.0.0

1.0.0.0

Yii 2 Advanced API Template

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

api framework yii2 advanced project template