PHPackages                             le0m/yii2-boilerplate - 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. le0m/yii2-boilerplate

ActiveProject[Framework](/categories/framework)

le0m/yii2-boilerplate
=====================

Yii 2 Boilerplate Application Template

1.0(7y ago)01BSD-3-ClausePHPPHP &gt;=7.0.0

Since Mar 3Pushed 7y agoCompare

[ Source](https://github.com/le0m/yii2-boilerplate)[ Packagist](https://packagist.org/packages/le0m/yii2-boilerplate)[ Docs](https://le0m.net)[ RSS](/packages/le0m-yii2-boilerplate/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (8)Versions (2)Used By (0)

Yii 2 Boilerplate Template
==========================

[](#yii-2-boilerplate-template)

This Yii2 boilerplate template is based on the [yii2-app-practical-a template](https://github.com/kartik-v/yii2-app-practical-a/).

The template includes four tiers: front end, back end, console and REST, 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.

Detailed documentation can be referred at [docs/guide/README.md](docs/guide/README.md).

DIRECTORY STRUCTURE
-------------------

[](#directory-structure)

```
/
    /                    contains the frontend entry script, favicon, and robots.txt.
    assets/              contains frontend application runtime web assets such as JavaScript and CSS
common
    config/              contains shared configurations
    mail/                contains view files for e-mails
    models/              contains model classes used in both backend and frontend
    tests/               contains tests for common classes
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
backend
    /                    contains the backend entry script, favicon, and robots.txt.
    assets/              contains the backend application runtime web assets such as JavaScript and CSS
    assets_b/            contains web assets and scripts used by backend application
    config/              contains backend configurations
    controllers/         contains Web controller classes
    models/              contains backend-specific model classes
    runtime/             contains files generated during runtime
    tests/               contains tests for backend application
    views/               contains view files for the Web application
frontend
    assets/              contains web assets and scripts used by frontend application
    config/              contains frontend configurations
    controllers/         contains Web controller classes
    models/              contains frontend-specific model classes
    runtime/             contains files generated during runtime
    tests/               contains tests for frontend application
    views/               contains view files for the Web application
    widgets/             contains frontend widgets
vendor/                  contains dependent 3rd-party packages
environments/            contains environment-based overrides

```

###  Health Score

22

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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

2576d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/36a1b89a62185411675b209cd97652abd29a4e98bd3e68cb5e402bee9ae883d6?d=identicon)[le0m](/maintainers/le0m)

---

Top Contributors

[![le0m](https://avatars.githubusercontent.com/u/10656716?v=4)](https://github.com/le0m "le0m (1 commits)")

---

Tags

frameworkrestyii2boilerplateapplication template

### Embed Badge

![Health badge](/badges/le0m-yii2-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/le0m-yii2-boilerplate/health.svg)](https://phpackages.com/packages/le0m-yii2-boilerplate)
```

###  Alternatives

[nenad/yii2-advanced-template

Improved Yii 2 Advanced Application Template By Nenad Zivkovic

9111.1k](/packages/nenad-yii2-advanced-template)[funson86/yii2-adminlte

Yii 2 Advanced Application Template with Adminlte Theme

1492.2k](/packages/funson86-yii2-adminlte)[nenad/yii2-basic-template

Improved Yii 2 Basic Application Template By Nenad Zivkovic

496.5k](/packages/nenad-yii2-basic-template)[kartik-v/yii2-app-practical

Yii 2 Practical Application Template

672.7k](/packages/kartik-v-yii2-app-practical)[kartik-v/yii2-app-practical-a

Yii 2 Practical A Application Template

363.7k](/packages/kartik-v-yii2-app-practical-a)[kartik-v/yii2-app-practical-b

Yii 2 Practical-B Application Template

312.7k](/packages/kartik-v-yii2-app-practical-b)

PHPackages © 2026

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