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

ActiveProject[Framework](/categories/framework)

cherif/yii2-app-shared
======================

Yii 2 Shared Project Template

2.0.6(10y ago)39BSD-3-ClausePHPPHP &gt;=5.4.0

Since Dec 28Pushed 10y ago2 watchersCompare

[ Source](https://github.com/cherifGsoul/yii2-shared-app)[ Packagist](https://packagist.org/packages/cherif/yii2-app-shared)[ Docs](http://www.cherifbouchelaghem.com/)[ RSS](/packages/cherif-yii2-app-shared/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Yii 2 Shared Project Template
=============================

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

Yii 2 Shared Project Template is a skeleton [Yii 2](http://www.yiiframework.com/) application best for rapidly creating small projects for shared hosting.

The template contains the basic features including user login/logout and a contact page. It includes all commonly used configurations that would allow you to focus on adding new features to your application.

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

[](#requirements)

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

### 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 global require "fxp/composer-asset-plugin:~1.1.0"
php composer.phar create-project --prefer-dist cherif/yii2-app-shared shared

```

Now you should be able to access the application through the following URL, assuming `shared` is the directory directly under the Web root.

```
http://localhost/shared

```

CONFIGURATION
-------------

[](#configuration)

### Database

[](#database)

Edit the file `config/db.php` with real data, for example:

```
return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=yii2shared',
    'username' => 'root',
    'password' => '1234',
    'charset' => 'utf8',
];
```

**NOTES:**

- Yii won't create the database for you, this has to be done manually before you can access it.
- Check and edit the other files in the `protected/config/` directory to customize your application as required.
- Refer to the README in the `tests` directory for information specific to shared application tests.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

3882d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f4be70b1b1d59ebec6b57be354923c82f8c9d445e612398e73a838c48130183b?d=identicon)[cherif\_b](/maintainers/cherif_b)

---

Tags

frameworkyii2project templateshared

### Embed Badge

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

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

###  Alternatives

[skeeks/cms

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

13926.0k65](/packages/skeeks-cms)

PHPackages © 2026

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