Yii Framework 3.0 core
Clone or download
FabrizioCaldarelli and samdark Adjust to new DI and Reset response in mockWebApplication (#153)
* Adjust ResourceStream to new DI;
Reset response when mockWebApplication: this is needed doing HttpCache tests, such as this: https://github.com/yiisoft/yii-web/blob/70018261b5892c74a0638b0d7dc79fe2c5a05089/tests/filters/HttpCacheTest.php#L87
Otherwise, when this test is launched (after the previous), response object is already filled.

* Update Application.php

* Update ResourceStreamTest.php

* Fix resourcetest missing constructor parameter
Latest commit ad5a548 Jan 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create move.yml Oct 9, 2018
build Changed `Yii::$app` to `Yii::getApp()` Aug 20, 2018
config Fixed aliases in tests config Jan 11, 2019
contrib/completion Fixes #15988: Fixed bash completion Mar 27, 2018
cs Use null coalesce operator where possible May 14, 2018
docs Fixed to `encoding` from charset Oct 4, 2018
move-tests Moved back Json and Html tests Nov 11, 2018
src Adjust to new DI and Reset response in mockWebApplication (#153) Jan 13, 2019
tests Adjust to new DI and Reset response in mockWebApplication (#153) Jan 13, 2019
.appveyor.yml Moved exclude to tests (#146) Jan 6, 2019
.codeclimate.yml Code Climate PHPMD settings (#13139) Dec 5, 2016
.dockerignore updated build Jan 24, 2017
.editorconfig Handled special .editorconfig case for markdown Sep 27, 2015
.eslintignore Add codeclimate config (#12452) Sep 3, 2016
.eslintrc Add codeclimate config (#12452) Sep 3, 2016
.gitattributes Add AppVeyor CI (#16123) Apr 18, 2018
.gitignore Fixing tests Aug 14, 2018
.gitlab-ci.yml #11560: removed ZendDataCache remains (#15955) Mar 23, 2018
.php_cs Added configuration for headers in PHP files generated by `message/ex… Jul 10, 2017
.scrutinizer.yml version 2.0.1 84b42ab Dec 22, 2014
.travis.yml Revert "Turn off code coverage (#147)" Jan 7, 2019
CHANGELOG.md Removed extra space Jan 6, 2019
LICENSE.md Fixes #16102: Removed a line that doesn't match BSD license text [ski… Apr 26, 2018
README.md Renamed this package to `yiisoft/yii-core` Aug 25, 2018
ROADMAP.md Fixed typo Sep 7, 2018
UPGRADE.md #134: `StringHelper::truncate()` was renamed to `StringHelper::trunca… Jan 5, 2019
code-of-conduct.md Update code-of-conduct.md Jun 26, 2016
composer.json #134: `StringHelper::truncate()` was renamed to `StringHelper::trunca… Jan 5, 2019
composer.lock Moved exclude to tests (#146) Jan 6, 2019
package.json Disable timeout completely for JS tests (#13557) Feb 11, 2017
phpunit.xml.dist Moved exclude to tests (#146) Jan 6, 2019

README.md

Yii Framework

Yii is a modern framework designed to be a solid foundation for your PHP application.

It is fast, secure and efficient and works right out of the box pre-configured with reasonable defaults. The framework is easy to adjust to meet your needs, because Yii has been designed to be flexible.

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

Installation

Documentation

Community

Contributing

The framework is Open Source powered by an excellent community.

You may join us and:

Reporting Security issues

Please refer to a special page at the website describing proper workflow for security issue reports.

Directory Structure

build/               internally used build tools
docs/                documentation
src/                 core framework code
tests/               tests of the core framework code

Spreading the Word

Acknowledging or citing Yii is as important as direct contributions.

In presentations

If you are giving a presentation or talk featuring work that makes use of Yii and would like to acknowledge it, we suggest using our logo on your title slide.

In projects

If you are using Yii as part of an OpenSource project, a way to acknowledge it is to use a special badge in your README:

Yii

If your code is hosted at GitHub, you can place the following in your README.md file to get the badge:

[![Yii](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat)](http://www.yiiframework.com/)