yiisoft/yii2

View on GitHub
framework/README.md

Summary

Maintainability
Test Coverage
Yii PHP Framework Version 2
===========================

This is the core framework code of [Yii 2](https://github.com/yiisoft/yii2#readme).

This repository is a read-only git subsplit of <https://github.com/yiisoft/yii2>.
Please submit issue reports and pull requests to the main repository.
For license information check the [LICENSE](LICENSE.md)-file.

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

The preferred way to install the Yii framework is through [composer](https://getcomposer.org/download/).

Refer to [Bower and NPM Assets installation](https://www.yiiframework.com/doc/guide/2.0/en/structure-assets#bower-npm-assets) to select an asset installation method.

Either run

```
composer require yiisoft/yii2
```

or add

```json
"yiisoft/yii2": "~2.0.0",
```

to the require section of your composer.json.