Yii2 framework backup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Larry Ullman d5a79df680 Added a "handling component events" section 10 years ago
apps typo 10 years ago
build updated phpdoc and classmap 10 years ago
docs Added a "handling component events" section 10 years ago
extensions CHANGELOG #4187 10 years ago
framework Fixes #4204: `yii\web\Request::getUserIP()` will return null if it cannot detect user IP address 10 years ago
tests fixed issue with elasticsearch >=1.2.0 10 years ago
.gitattributes Forcedly set file type by extension. 11 years ago
.gitignore ignore composer.lock in applications (yii2-dev only) 10 years ago
.scrutinizer.yml reverted accidentally disabling of code coverage. 11 years ago
.travis.yml try to fix hhvm tests 10 years ago
CONTRIBUTING.md Update CONTRIBUTING.md 10 years ago
LICENSE.md updated license information. 11 years ago
README.md Update README.md 10 years ago
composer.json implemented markdown parsing for console command description 10 years ago
phpunit.xml.dist path fixes. 11 years ago

README.md

Yii PHP Framework Version 2

Thank you for choosing Yii 2 - a modern PHP framework designed for professional Web development.

Yii 2 is a complete rewrite of its previous version Yii 1.1 which is one of the most popular PHP frameworks. Yii 2 inherits the main spirit behind Yii for being simple, fast and highly extensible. Yii 2 requires PHP 5.4 and embraces the best practices and protocols found in modern Web application development.

Yii 2 is not ready for production use yet. We may make significant changes without prior notices. We expect to make the first stable release of Yii 2 in the middle of 2014.

If you mainly want to learn Yii with no real project development requirement, we highly recommend you start with Yii 2 as it will be our main focus for the next few years.

If you have a real project with tight schedule, you should stick to Yii 1.1 which is the latest stable release of Yii.

Latest Stable Version Total Downloads Dependency Status Build Status HHVM Status
Code Coverage Scrutinizer Quality Score Code Climate

DIRECTORY STRUCTURE

apps/                ready-to-use application templates
    advanced/        a template suitable for building sophisticated Web applications
    basic/           a template suitable for building simple Web applications
    benchmark/       an application demonstrating the performance of Yii
build/               internally used build tools
docs/                documentation
extensions/          extensions
framework/           core framework code
tests/               tests of the core framework code

REQUIREMENTS

The minimum requirement by Yii is that your Web server supports PHP 5.4.

DOCUMENTATION

A draft of the Definitive Guide is available.

API docs and a rendering of the definitive guide are currently available under the following urls:

For 1.1 users, you may refer to Upgrading from Yii 1.1 to have a general idea of what has changed in 2.0.

HOW TO PARTICIPATE

Your participation to Yii 2 development is very welcome!

You may participate in the following ways:

  • Report issues
  • Give us feedback or start a design discussion
  • Fix issues, develop features, write/polish documentation
    • Before you start, please adopt an existing issue (labelled with "ready for adoption") or start a new one to avoid duplicated efforts.
    • Please submit a merge request after you finish development.

In order to make it easier we've prepared special yii2-dev Composer package.