PHPackages                             tez/yii2-app-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. tez/yii2-app-advanced

ActiveProject[Framework](/categories/framework)

tez/yii2-app-advanced
=====================

Yii 2 Advanced Application Template

2.0.1(11y ago)016BSD-3-ClausePHPPHP &gt;=5.4.0

Since Dec 1Pushed 11y ago2 watchersCompare

[ Source](https://github.com/Mihai-P/yii2-app-advanced)[ Packagist](https://packagist.org/packages/tez/yii2-app-advanced)[ Docs](http://www.yiiframework.com/)[ RSS](/packages/tez-yii2-app-advanced/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (6)Used By (0)

IMPORTANT
=========

[](#important)

Before installing this you need to purchase this theme I have built the admin interface based on this. The theme is not open source so I cannot make it public. I am trying to rebuild it on a free theme that everybody can use but for now you need to purchase that theme. Sorry :(

Yii 2 Advanced Application Template
===================================

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

Yii 2 Advanced Application Template is a skeleton Yii 2 application best for developing complex Web applications with multiple tiers.

The template includes three tiers: front end, back end, 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.

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

[](#directory-structure)

```
common
    config/              contains shared configurations
    mail/                contains view files for e-mails
    models/              contains model classes used in both backend and frontend
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
    assets/              contains application assets such as JavaScript and CSS
    config/              contains backend configurations
    controllers/         contains Web controller classes
    models/              contains backend-specific model classes
    runtime/             contains files generated during runtime
    views/               contains view files for the Web application
    web/                 contains the entry script and Web resources
frontend
    assets/              contains application assets such as JavaScript and CSS
    config/              contains frontend configurations
    controllers/         contains Web controller classes
    models/              contains frontend-specific model classes
    runtime/             contains files generated during runtime
    views/               contains view files for the Web application
    web/                 contains the entry script and Web resources
    widgets/             contains frontend widgets
vendor/                  contains dependent 3rd-party packages
environments/            contains environment-based overrides
tests                    contains various tests for the advanced application
    codeception/         contains tests developed with Codeception PHP Testing Framework

```

REQUIREMENTS
------------

[](#requirements)

The minimum requirement by this application template that your Web server supports PHP 5.4.0.

INSTALLATION
------------

[](#installation)

### Install via Composer

[](#install-via-composer)

If you do not have [Composer](http://getcomposer.org/), you may install it by following the instructions at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).

You can then install the application using the following command:

```
php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta4"
php composer.phar create-project --prefer-dist --stability=dev tez/yii2-app-advanced advanced

```

GETTING STARTED
---------------

[](#getting-started)

After you install the application, you have to conduct the following steps to initialize the installed application. You only need to do these once for all.

1. Run command `init` to initialize the application with a specific environment.
2. Create a new database and adjust the `components['db']` configuration in `common/config/main-local.php` accordingly.
3. Apply migrations with console command `sh migrate.sh`. This will create tables needed for the application to work.
4. Set document roots of your Web server:

- for frontend `/path/to/yii-application/frontend/web/` and using the URL `http://frontend/`
- for backend `/path/to/yii-application/backend/web/` and using the URL `http://backend/`

5. Open common/config/params.php and add your mandrill details in the `mandrill` section.
6. After purchasing the Brain theme, unpack it and copy the folder HTML/Bootstrap/Liquid into the vendor/tez/yii2-brain-theme/assets/Brain/Liquid
7. TO DO - Create a cronjob to send email notifications out
8. TO DO - Create info for the alias that needs to be put into the apache config file to have the storage folder to work

#### TO DO

[](#to-do)

1. Find a way so you do not have to hardcode URLs
2. Make the migrations work on windows too, right now sh migrate.sh is too specific

URLs
----

[](#urls)

- Login: `yourhost/core/default/login`Username: Password: admin
- Logout: `yourhost/core/default/logout`
- Reset Password: `yourhost/core/default/request-password-reset`
- User management: `yourhost/core/administrator/`

Tests
-----

[](#tests)

Go to vendor/tez/yii2-cms-module/tests/codeception/backend/ run

`codecept build`

to initialize the tests. Then run

`codecept run`

to run the actual tests.

You can run

`codecept run --coverage-html`

to get the code coverage. You can find the coverage in vendor/tez/yii2-cms-module/tests/codeception/backend/\_output/coverage/

#### TO DO

[](#to-do-1)

1. Make the tests all run from inside the application/test folder, not from inside the vendor folder
2. Make acceptance testing also work
3. Put instructions on how to install codeception

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~92 days

Total

5

Last Release

4175d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/07e369e2ec3ce7fc943ee2fb94babc2bc545bfb4b8ae740908fe488931bdc91c?d=identicon)[MihaiP](/maintainers/MihaiP)

---

Top Contributors

[![samdark](https://avatars.githubusercontent.com/u/47294?v=4)](https://github.com/samdark "samdark (163 commits)")[![qiangxue](https://avatars.githubusercontent.com/u/993322?v=4)](https://github.com/qiangxue "qiangxue (107 commits)")[![cebe](https://avatars.githubusercontent.com/u/189796?v=4)](https://github.com/cebe "cebe (31 commits)")[![Ragazzo](https://avatars.githubusercontent.com/u/1748844?v=4)](https://github.com/Ragazzo "Ragazzo (25 commits)")[![creocoder](https://avatars.githubusercontent.com/u/896494?v=4)](https://github.com/creocoder "creocoder (17 commits)")[![Mihai-P](https://avatars.githubusercontent.com/u/7947914?v=4)](https://github.com/Mihai-P "Mihai-P (12 commits)")[![delatbabel](https://avatars.githubusercontent.com/u/2335362?v=4)](https://github.com/delatbabel "delatbabel (12 commits)")[![kartik-v](https://avatars.githubusercontent.com/u/3592619?v=4)](https://github.com/kartik-v "kartik-v (11 commits)")[![slavcodev](https://avatars.githubusercontent.com/u/757721?v=4)](https://github.com/slavcodev "slavcodev (5 commits)")[![Jasrags](https://avatars.githubusercontent.com/u/131606?v=4)](https://github.com/Jasrags "Jasrags (5 commits)")[![mohorev](https://avatars.githubusercontent.com/u/4974062?v=4)](https://github.com/mohorev "mohorev (5 commits)")[![resurtm](https://avatars.githubusercontent.com/u/100198?v=4)](https://github.com/resurtm "resurtm (4 commits)")[![schmunk42](https://avatars.githubusercontent.com/u/649031?v=4)](https://github.com/schmunk42 "schmunk42 (4 commits)")[![TriAnMan](https://avatars.githubusercontent.com/u/2266882?v=4)](https://github.com/TriAnMan "TriAnMan (4 commits)")[![SDKiller](https://avatars.githubusercontent.com/u/2150916?v=4)](https://github.com/SDKiller "SDKiller (3 commits)")[![gonimar](https://avatars.githubusercontent.com/u/756571?v=4)](https://github.com/gonimar "gonimar (3 commits)")[![kumorig](https://avatars.githubusercontent.com/u/5523938?v=4)](https://github.com/kumorig "kumorig (3 commits)")[![klimov-paul](https://avatars.githubusercontent.com/u/1482054?v=4)](https://github.com/klimov-paul "klimov-paul (3 commits)")[![crtlib](https://avatars.githubusercontent.com/u/4428231?v=4)](https://github.com/crtlib "crtlib (3 commits)")[![lancecoder](https://avatars.githubusercontent.com/u/2000485?v=4)](https://github.com/lancecoder "lancecoder (2 commits)")

---

Tags

frameworkyii2advancedapplication template

### Embed Badge

![Health badge](/badges/tez-yii2-app-advanced/health.svg)

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

###  Alternatives

[nenad/yii2-advanced-template

Improved Yii 2 Advanced Application Template By Nenad Zivkovic

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

Yii 2 Advanced Application Template with Adminlte Theme

1492.2k](/packages/funson86-yii2-adminlte)[kartik-v/yii2-app-practical

Yii 2 Practical Application Template

682.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)[abhi1693/yii2-app-advanced-startup-kit

Yii 2 Practical Advanced Application Template (Startup Kit)

301.3k](/packages/abhi1693-yii2-app-advanced-startup-kit)

PHPackages © 2026

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