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

ActiveProject[Framework](/categories/framework)

yii2-bridge/app
===============

Yii 2 Bridge Project Template

v0.1.5(6y ago)32341[12 PRs](https://github.com/yii2-bridge/app/pulls)BSD-3-ClausePHPPHP &gt;=7.1.3

Since Jul 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/yii2-bridge/app)[ Packagist](https://packagist.org/packages/yii2-bridge/app)[ Docs](http://www.naffiq.com/)[ RSS](/packages/yii2-bridge-app/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (12)Versions (19)Used By (0)

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

Yii 2 Bridge App
================

[](#yii-2-bridge-app)

Based on «Yii 2 Basic Project Template» and is a skeleton [Yii 2](http://www.yiiframework.com/) application best for rapidly creating small projects with admin panel.

Installation
------------

[](#installation)

Create project via composer by running following command:

```
$ composer create-project yii2-bridge/app MY_APP_NAME
```

Create `config/local.php` (you may copy `config/example.local.php` for example) and configure your local environment DB.

```
$ cp config/example.local.php config/local.php
```

> Note: `local.php` is registered in `.gitignore` to prevent config collisions between developers

Then run migrations with single command:

```
$ ./vendor/bin/bridge-install
```

Usage
-----

[](#usage)

With fresh installation you will have  (assuming you run `php yii serve`) which is yii2-bridge. Add your sub-modules for creating admin sections. More docs at [Yii2 Bridge Wiki](https://github.com/yii2-bridge/app/wiki) (in progress)

Users
-----

[](#users)

Yii2 Bridge utilizes [yii2-usuario](https://github.com/2amigos/yii2-usuario) under the hood, which takes user management to new level. Create your first user with CLI command:

```
$ php yii user/create     // role should be admin for your first user
```

Read [Usuario docs](http://yii2-usuario.readthedocs.io/en/latest/) for further details.

Environment
-----------

[](#environment)

You can pre-configure application for different environments and switch them easily. Change your config for different modes in these files:

- `config/local.php` — Local development. This file overwrites all configuration defined in your `main.php` or `mode_*.php` files;
- `config/mode_stage.php` — Staging (development) server;
- `config/mode_prod.php` — Production server;
- `config/mode_test.php` — Configuration for tests (used by codeception);

Then switch easily between them by creating `mode.php` file with mode name:

> Example of `config/mode.php`:

```
prod
```

> Note: `mode.php` is registered in `.gitignore` to prevent config collisions between environments. You have to create it manually or with [deployer](https://deployer.org) job once in every project environment.

Refer to [janisto/yii2-environment](https://github.com/janisto/yii2-environment) for further details.

Testing
-------

[](#testing)

The app is ready to test and has example test for `2amigos/yii2-usuario` user model with fixture included. Run tests with:

```
$ ./vendor/bin/codecept
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.4% 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 ~68 days

Recently: every ~85 days

Total

6

Last Release

2535d ago

PHP version history (2 changes)v0.1.0PHP &gt;=5.4.0

v0.1.4PHP &gt;=7.1.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3990098?v=4)[Galymzhan Abdugalimov](/maintainers/naffiq)[@naffiq](https://github.com/naffiq)

![](https://www.gravatar.com/avatar/29eaf1b44ccd6f1aa01e8e33a1f79671aa8f3159569ed7970715efcc9a57cc64?d=identicon)[altynbek07](/maintainers/altynbek07)

---

Top Contributors

[![naffiq](https://avatars.githubusercontent.com/u/3990098?v=4)](https://github.com/naffiq "naffiq (27 commits)")[![altynbek07](https://avatars.githubusercontent.com/u/20629188?v=4)](https://github.com/altynbek07 "altynbek07 (3 commits)")[![AKaliyev](https://avatars.githubusercontent.com/u/32462371?v=4)](https://github.com/AKaliyev "AKaliyev (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

frameworkyii2project templateBridge

### Embed Badge

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

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

PHPackages © 2026

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