PHPackages                             deryabinsergey/yii2-app-extended - 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. deryabinsergey/yii2-app-extended

ActiveProject[Framework](/categories/framework)

deryabinsergey/yii2-app-extended
================================

Yii 2 Extended Project Template

v2.0.0(3y ago)429BSD-3-ClausePHPPHP ^8.1

Since Nov 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/DeryabinSergey/yii2-app-extended)[ Packagist](https://packagist.org/packages/deryabinsergey/yii2-app-extended)[ Docs](https://www.yiiframework.com/)[ RSS](/packages/deryabinsergey-yii2-app-extended/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (16)Versions (7)Used By (0)

Yii 2 Extended Project Template
===============================

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

### Install via composer

[](#install-via-composer)

```
composer create-project --prefer-dist deryabinsergey/yii2-app-extended:2
```

### Benefits

[](#benefits)

This Project Template based on Advanced Template with some modifications

- add [rmrevin / yii2-fontawesome](https://github.com/rmrevin/yii2-fontawesome) Asset Bundle with Font Awesome 5
- add [Bootstrap Dasboard Template](https://getbootstrap.com/docs/4.5/examples/dashboard/) to backend
- remove unique key from `user.username`. Authorization by email and password.
- add [RBAC](https://www.yiiframework.com/doc/guide/2.0/en/security-authorization#rbac) implementation for users. Use in backend.
- add User CRUD to backend
- make codeception tests valid, using [yii2-bootstrap5](https://github.com/yiisoft/yii2-bootstrap5)
- add some tests to backend / create user, acceptance tests for backend
- add selenium to `docker-compose.yml` and docker config at `frontend/tests/acceptance.suite.yml.example`
- change php to `yiisoftware/yii2-php:8.1-apache` in `Dockerfile`
- add config to `Dockerfile` for pretty URL
- add `urlManagerFrontend` to backend config for making links from backend to frontend

**Be careful** in `environments/dev/frontend/web/index-test.php` and `environments/dev/backend/web/index-test.php` removed code to start test on Docker:

```
// NOTE: Make sure this file is not accessible when deployed to production
if (!in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', '::1'])) {
    die('You are not allowed to access this file.');
}

```

All information and documentation available at [Advanced Project Template](https://github.com/yiisoft/yii2-app-advanced/blob/master/docs/guide/README.md).

### Using RBAC

[](#using-rbac)

**Roles** and **permissions** defined in `common/config/params.php`For adding new **permission**, **roles** and **assigned** permissions to roles - should create migration. For example see `console/migrations/m221002_102238_initialize_rbac_roles.php`For began i make this **permissions**

- **backend** - access to backend
- **userCreate** - add new users in backend
- **userRead** - view information about existed users
- **userUpdate** - can update user information
- **userDelete** - can delete users (*NB: you can soft delete existed users, just set status deleted*)

and next **roles**

- **admin** has full permissions
- **manager** has full permissions without delete
- **viewer** has only read permissions

Default **Roles** and **Permissions** in tree view:

```
admin (role)
├─userDelete (permission)
│
└─manager (role)
  ├─userCreate (permission)
  ├─userUpdate (permission)
  │
  └─viever (role)
    │
    ├─backend (permission)
    └─userRead (permission)

```

### Acceptance tests

[](#acceptance-tests)

Complete next steps to enable acceptance tests:

- copy frontend config file `frontend/tests/acceptance.suite.yml.example` to `frontend/tests/acceptance.suite.yml` and backend config file `backend/tests/acceptance.suite.yml.example` to `backend/tests/acceptance.suite.yml`
- uncomment sections `selenium-event-bus`, `selenium-sessions`, `selenium-session-queue`, `selenium-distributor`, `selenium-router`, `chrome`, `firefox` in `docker-compose.yml`
- build tests: `./vendor/bin/codecept build`

Run all tests: `./vendor/bin/codecept run`

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity67

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

Recently: every ~117 days

Total

6

Last Release

1296d ago

Major Versions

v1.1.2 → v2.0.02022-10-24

PHP version history (3 changes)1.0.0PHP &gt;=7.4.0

v1.1.0PHP &gt;=8.0

v1.1.2PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7665884?v=4)[Deryabin Sergey](/maintainers/deryabinsergey)[@DeryabinSergey](https://github.com/DeryabinSergey)

---

Top Contributors

[![samdark](https://avatars.githubusercontent.com/u/47294?v=4)](https://github.com/samdark "samdark (305 commits)")[![qiangxue](https://avatars.githubusercontent.com/u/993322?v=4)](https://github.com/qiangxue "qiangxue (113 commits)")[![cebe](https://avatars.githubusercontent.com/u/189796?v=4)](https://github.com/cebe "cebe (75 commits)")[![SilverFire](https://avatars.githubusercontent.com/u/4499203?v=4)](https://github.com/SilverFire "SilverFire (32 commits)")[![softark](https://avatars.githubusercontent.com/u/342857?v=4)](https://github.com/softark "softark (30 commits)")[![creocoder](https://avatars.githubusercontent.com/u/896494?v=4)](https://github.com/creocoder "creocoder (28 commits)")[![Ragazzo](https://avatars.githubusercontent.com/u/1748844?v=4)](https://github.com/Ragazzo "Ragazzo (25 commits)")[![DeryabinSergey](https://avatars.githubusercontent.com/u/7665884?v=4)](https://github.com/DeryabinSergey "DeryabinSergey (22 commits)")[![sugiruu](https://avatars.githubusercontent.com/u/5993725?v=4)](https://github.com/sugiruu "sugiruu (13 commits)")[![kartik-v](https://avatars.githubusercontent.com/u/3592619?v=4)](https://github.com/kartik-v "kartik-v (11 commits)")[![maximal](https://avatars.githubusercontent.com/u/980679?v=4)](https://github.com/maximal "maximal (10 commits)")[![githubjeka](https://avatars.githubusercontent.com/u/874234?v=4)](https://github.com/githubjeka "githubjeka (10 commits)")[![bscheshirwork](https://avatars.githubusercontent.com/u/5769211?v=4)](https://github.com/bscheshirwork "bscheshirwork (8 commits)")[![DavertMik](https://avatars.githubusercontent.com/u/220264?v=4)](https://github.com/DavertMik "DavertMik (8 commits)")[![arogachev](https://avatars.githubusercontent.com/u/8326201?v=4)](https://github.com/arogachev "arogachev (7 commits)")[![TriAnMan](https://avatars.githubusercontent.com/u/2266882?v=4)](https://github.com/TriAnMan "TriAnMan (6 commits)")[![schmunk42](https://avatars.githubusercontent.com/u/649031?v=4)](https://github.com/schmunk42 "schmunk42 (6 commits)")[![mohorev](https://avatars.githubusercontent.com/u/4974062?v=4)](https://github.com/mohorev "mohorev (5 commits)")[![Jasrags](https://avatars.githubusercontent.com/u/131606?v=4)](https://github.com/Jasrags "Jasrags (5 commits)")[![slavcodev](https://avatars.githubusercontent.com/u/757721?v=4)](https://github.com/slavcodev "slavcodev (5 commits)")

---

Tags

frameworkyii2project templateextended

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/deryabinsergey-yii2-app-extended/health.svg)

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

###  Alternatives

[yiisoft/yii2-app-advanced

Yii 2 Advanced Project Template

1.7k957.7k5](/packages/yiisoft-yii2-app-advanced)[yiisoft/yii2-app-basic

Yii 2 Basic Project Template

7031.8M7](/packages/yiisoft-yii2-app-basic)

PHPackages © 2026

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