PHPackages                             rgl/yii2-template-api - 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. rgl/yii2-template-api

ActiveProject[Framework](/categories/framework)

rgl/yii2-template-api
=====================

Yii 2 Api Project Template

v1.0.0(3y ago)03BSD-3-ClausePHPPHP &gt;=7.2

Since Jul 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/raubel1993/yii2-template-api)[ Packagist](https://packagist.org/packages/rgl/yii2-template-api)[ RSS](/packages/rgl-yii2-template-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (14)Versions (2)Used By (0)

 [ ![](https://avatars0.githubusercontent.com/u/993323) ](https://github.com/yiisoft)

Yii 2 Api Project Template
==========================

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

Yii 2 Api Project Template is a skeleton [Yii 2](http://www.yiiframework.com/) application best for rapidly creating modular projects.

### Install via Composer

[](#install-via-composer)

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

```
composer create-project --prefer-dist --stability=dev raubel1993/yii2-template-api basic

```

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

```
http://localhost/basic/web/

```

### Install with Docker

[](#install-with-docker)

Update your vendor packages

```
docker-compose run --rm php composer update --prefer-dist

```

Run the installation triggers (creating cookie validation code)

```
docker-compose run --rm php composer install

```

Start the container

```
docker-compose up -d

```

You can then access the application through the following URL:

```
http://127.0.0.1:8000

```

**NOTES:**

- Minimum required Docker engine version `17.04` for development (see [Performance tuning for volume mounts](https://docs.docker.com/docker-for-mac/osxfs-caching/))
- The default configuration uses a host-volume in your home directory `.docker-composer` for composer caches

CONFIGURATION
-------------

[](#configuration)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1381d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b173614959a84b8b80fd3a810cfe6d1298a6db7126ebfbc270721fb90469b27f?d=identicon)[raubel1993](/maintainers/raubel1993)

---

Top Contributors

[![raubel1993](https://avatars.githubusercontent.com/u/49169590?v=4)](https://github.com/raubel1993 "raubel1993 (7 commits)")

---

Tags

apiframeworkyii2project template

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/rgl-yii2-template-api/health.svg)

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

PHPackages © 2026

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