PHPackages                             variarty/yii-template - 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. variarty/yii-template

ActiveProject

variarty/yii-template
=====================

Another Yii2 template

1.0.0(8y ago)111PHPPHP &gt;=7.0.0

Since Jan 13Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/variarty/yii-template)[ Packagist](https://packagist.org/packages/variarty/yii-template)[ RSS](/packages/variarty-yii-template/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (8)Versions (3)Used By (0)

This Project Template is another skeleton [Yii 2](http://www.yiiframework.com/) for creating projects. The template contains the basic features including user sign in/up and a password recovery page.

[![Latest Stable Version](https://camo.githubusercontent.com/b593ce1d645c5f50990d55b79bd9f146fd9cdcd7e0c7879e7ca4913cdb7acdaa/68747470733a2f2f706f7365722e707567782e6f72672f76617269617274792f7969692d74656d706c6174652f762f737461626c65)](https://packagist.org/packages/variarty/yii-template)[![Total Downloads](https://camo.githubusercontent.com/dec49e8211ac9f66e7c1f33d65c8b07356f31d0c3624ad9d865a2f5c8f788a6e/68747470733a2f2f706f7365722e707567782e6f72672f76617269617274792f7969692d74656d706c6174652f646f776e6c6f616473)](https://packagist.org/packages/variarty/yii-template)

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

[](#directory-structure)

```
app
    assets/              contains application assets such as JavaScript and CSS
    config/              contains application configurations
    controllers/         contains Web controller classes
    forms/               contains Web form classes
    messages/            contains message translation
    runtime/             contains files generated during runtime
    views/               contains view files for the Web application
    web/                 contains the entry script and Web resources
    widgets/             contains GUI widgets
common
    config/              contains shared configurations
    entities/            contains etities classes
    jobs/                contains jobs (tasks)
    mail/                contains view files for e-mails
    messages/            contains shared messages (core)
    migrations/          contains database migrations
    repositories/        contains classes for working with the database
    services/            contains services classes
console
    commands/            contains console controllers
    config/              contains console configurations
    runtime/             contains files generated during runtime
tests
    runtime/             contains files generated during runtime
    unit/                contains unit tests
vendor/                  contains dependent 3rd-party packages

```

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

[](#requirements)

- PHP &gt;= 7.0
- PHPUnit &gt;= 6.0 (for tests running only)
- Bower
- Npm
- Gulp

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 this project template using the following command:

```
php composer.phar create-project --prefer-dist variarty/yii-tempate app
cd app
npm install
bower install

```

### Web resources building

[](#web-resources-building)

[Gulp](https://gulpjs.com/) is used to build web resources (css, js, etc.). [Gulp](https://gulpjs.com/) has several tasks:

```
gulp                help task (get available tasks with description)
gulp less           transform app less to css
gulp js             copy app JS to dist directory
gulp bootstrap      build Twitter Bootstrap with custom overrides
gulp build          run `less`, `js`, `bootstrap` tasks
gulp watch          watch resources src directory and run 'build' task on change

```

### Phing usage

[](#phing-usage)

If you have [Phing](https://www.phing.info/) you can run `phing` in your application directory. [Phing](https://www.phing.info/) will run the commands:

```
composer install
npm install
bower install
gulp build

```

TESTING
-------

[](#testing)

Tests are located in `tests` directory. They are developed with [PHPUnit](https://phpunit.de). Tests can be executed by running

```
phpunit

```

The command above will execute unit tests. Now, unit tests are testing only entities.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance40

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~178 days

Total

2

Last Release

2865d ago

### Community

Maintainers

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

---

Top Contributors

[![variarty](https://avatars.githubusercontent.com/u/10104371?v=4)](https://github.com/variarty "variarty (21 commits)")

---

Tags

project-templateyii2

### Embed Badge

![Health badge](/badges/variarty-yii-template/health.svg)

```
[![Health](https://phpackages.com/badges/variarty-yii-template/health.svg)](https://phpackages.com/packages/variarty-yii-template)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)[razonyang/yii2-app-template

Yii2 App Project Template

262.8k](/packages/razonyang-yii2-app-template)

PHPackages © 2026

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