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

ActiveProject[Framework](/categories/framework)

nixar59/yii2-app-basic
======================

Yii2 Basic Project template

v1.0.0(6y ago)011[2 PRs](https://github.com/nixar59/yii2-app-basic/pulls)MITJavaScript

Since Aug 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nixar59/yii2-app-basic)[ Packagist](https://packagist.org/packages/nixar59/yii2-app-basic)[ RSS](/packages/nixar59-yii2-app-basic/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

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

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

[](#directory-structure)

```
  assets/             contains assets definition
  commands/           contains console commands (controllers)
  config/             contains application configurations
  controllers/        contains Web controller classes
  mail/               contains view files for e-mails
  models/             contains model classes
  runtime/            contains files generated during runtime
  tests/              contains various tests for the basic application
  vendor/             contains dependent 3rd-party packages
  views/              contains view files for the Web application
  web/                contains the entry script and Web resources

```

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

[](#requirements)

The minimum requirement by this project template that your Web server supports PHP 7.3.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 this project template using the following command:

```
composer create-project --prefer-dist nixar59/yii2-app-basic basic

```

### Install from an Archive File

[](#install-from-an-archive-file)

Extract the archive file downloaded from [yiiframework.com](http://www.yiiframework.com/download/) to a directory named `basic` that is directly under the Web root.

Set cookie validation key in `config/web.php` file to some random secret string:

```
'request' => [
    // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
    'cookieValidationKey' => '',
],
```

### Install with Docker

[](#install-with-docker)

Update your vendor packages

```
docker-compose run --rm php composer update --prefer-dist

```

Run the installation triggers (creating cookie validation code)

```
docker-compose run --rm php composer install

```

Start the container

```
docker-compose up -d

```

You can then access the application through the following URL:

```
http://127.0.0.1

```

**NOTES:**

- Minimum required Docker engine version `17.04` for development (see [Performance tuning for volume mounts](https://docs.docker.com/docker-for-mac/osxfs-caching/))
- The default configuration uses a host-volume in your home directory `.docker-composer` for composer caches

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Unknown

Total

1

Last Release

2466d ago

### Community

Maintainers

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

---

Top Contributors

[![nixar59](https://avatars.githubusercontent.com/u/8831747?v=4)](https://github.com/nixar59 "nixar59 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[yii2-starter-kit/yii2-starter-kit

Yii2 Starter Kit Application Template

1.4k6.6k](/packages/yii2-starter-kit-yii2-starter-kit)[skeeks/cms

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

13825.6k47](/packages/skeeks-cms)

PHPackages © 2026

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