PHPackages                             frostealth/yii2-api-basic - 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-basic

ActiveProject[Framework](/categories/framework)

frostealth/yii2-api-basic
=========================

Yii 2 Basic API Template

1.1.1(10y ago)4754[3 issues](https://github.com/frostealth/yii2-api-basic/issues)MITPHPPHP &gt;=5.4.0

Since Dec 18Pushed 10y ago1 watchersCompare

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

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

Yii 2 Basic API Template
========================

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

Yii 2 Basic API Template is a skeleton [Yii 2](http://www.yiiframework.com) application best for rapidly creating small API applications.

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-basic 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)

```
commands/                contains console controllers (commands)
common
    controllers/         contains shared api-specific controllers
    models/              contains shared api-specific model classes
config/                  contains application configurations
mail/                    contains view files for e-mails
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

25

—

LowBetter than 37% of packages

Maintenance5

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

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

3737d 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 (6 commits)")

---

Tags

apiproject-templateyii2apiframeworkyii2project templatebasic

### Embed Badge

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

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

###  Alternatives

[developeruz/yii-vue-app

Yii 2 + Vue.js Basic Project Template

1221.6k](/packages/developeruz-yii-vue-app)

PHPackages © 2026

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