PHPackages                             frostealth/yii2-api-advanced - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. frostealth/yii2-api-advanced

ActiveProject[Framework](/categories/framework)

frostealth/yii2-api-advanced
============================

Yii 2 Advanced API Template

1.1.1(10y ago)026MITPHPPHP &gt;=5.4.0

Since Dec 18Pushed 10y ago1 watchersCompare

[ Source](https://github.com/frostealth/yii2-api-advanced)[ Packagist](https://packagist.org/packages/frostealth/yii2-api-advanced)[ RSS](/packages/frostealth-yii2-api-advanced/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

Yii 2 Advanced API Template
===========================

[](#yii-2-advanced-api-template)

Yii 2 Advanced API Template is a skeleton [Yii 2](http://www.yiiframework.com) 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
------------

[](#installation)

Install via Composer
--------------------

[](#install-via-composer)

Run the [Composer](http://getcomposer.org) 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
---------------------

[](#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
-------------------

[](#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

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~32 days

Total

3

Last Release

3783d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3209d007425f192de0e0941e6181d2dfd36ed4f00714675ca7fb525c6fd27ed2?d=identicon)[frostealth](/maintainers/frostealth)

---

Top Contributors

[![frostealth](https://avatars.githubusercontent.com/u/1785217?v=4)](https://github.com/frostealth "frostealth (5 commits)")

---

Tags

apiproject-templateyii2apiframeworkyii2advancedproject template

### Embed Badge

![Health badge](/badges/frostealth-yii2-api-advanced/health.svg)

```
[![Health](https://phpackages.com/badges/frostealth-yii2-api-advanced/health.svg)](https://phpackages.com/packages/frostealth-yii2-api-advanced)
```

###  Alternatives

[yiisoft/yii2-app-advanced

Yii 2 Advanced Project Template

1.7k960.6k5](/packages/yiisoft-yii2-app-advanced)[beaten-sect0r/yii2-core

Yii2 Core project template

761.1k](/packages/beaten-sect0r-yii2-core)[izyue/yii2-app-advanced

Yii 2 Advanced Project Template

1291.9k](/packages/izyue-yii2-app-advanced)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
