yiisoft / yii2-dev
Yii PHP Framework Version 2 - Development Package
Fund package maintenance!
Open Collective
yiisoft
Tidelift
Installs: 79 459
Dependents: 30
Suggesters: 2
Security: 9
Stars: 14 241
Watchers: 1 064
Forks: 6 910
Open Issues: 522
Type:yii2-extension
Requires
- php: >=7.3.0
- ext-ctype: *
- ext-mbstring: *
- lib-pcre: *
- bower-asset/inputmask: ^5.0.8
- bower-asset/jquery: 3.7.*@stable | 3.6.*@stable | 3.5.*@stable | 3.4.*@stable | 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable
- bower-asset/punycode: ^2.2
- bower-asset/yii2-pjax: ~2.0.1
- cebe/markdown: ~1.0.0 | ~1.1.0 | ~1.2.0
- ezyang/htmlpurifier: ^4.17
- paragonie/random_compat: >=1
- yiisoft/yii2-composer: ~2.0.4
Requires (Dev)
Suggests
- yiisoft/yii2-coding-standards: you can use this package to check for code style issues when contributing to yii
Replaces
- yiisoft/yii2: 2.0.51
- 2.2.x-dev
- dev-master / 2.0.x-dev
- 2.0.51
- 2.0.50
- 2.0.49.x-dev
- 2.0.49.4
- 2.0.49.3
- 2.0.49.2
- 2.0.49.1
- 2.0.49
- 2.0.48.1
- 2.0.48
- 2.0.47
- 2.0.46
- 2.0.45
- 2.0.44
- 2.0.43
- 2.0.42.1
- 2.0.42
- 2.0.41.1
- 2.0.41
- 2.0.40
- 2.0.39.3
- 2.0.39.2
- 2.0.39.1
- 2.0.39
- 2.0.38
- 2.0.37
- 2.0.36
- 2.0.35
- 2.0.34
- 2.0.33
- 2.0.32
- 2.0.31
- 2.0.30
- 2.0.29
- 2.0.28
- 2.0.27
- 2.0.26
- 2.0.25
- 2.0.24
- 2.0.23
- 2.0.22
- 2.0.21
- 2.0.20
- 2.0.19
- 2.0.18
- 2.0.17
- 2.0.16.1
- 2.0.16
- 2.0.15.1
- 2.0.15
- 2.0.14.2
- 2.0.14.1
- 2.0.14
- 2.0.13.3
- 2.0.13.2
- 2.0.13.1
- 2.0.13
- 2.0.12.2
- 2.0.12.1
- 2.0.12
- 2.0.11.2
- 2.0.11.1
- 2.0.11
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-rc
- 2.0.0-beta
- 2.0.0-alpha
- dev-master-to-2.2
- dev-bizley-patch-1
- dev-test-docs-improvements
- dev-ar-bug
- dev-batch-query-test
This package is auto-updated.
Last update: 2024-10-27 10:37:13 UTC
README
Yii 2 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.
Installation
- The minimum required PHP version of Yii is PHP 7.3.
- It works best with PHP 8.
- Follow the Definitive Guide in order to get step by step instructions.
Documentation
- A Definitive Guide and a Class Reference cover every detail of the framework.
- There is a PDF version of the Definitive Guide and a Definitive Guide Mirror which is updated every 15 minutes.
- For Yii 1.1 users, there is Upgrading from Yii 1.1 to get an idea of what has changed in 2.0.
Versions & PHP compatibility
¹ All mentioned dates may be subject to change and no rights can be derived from them.
² Note: Yii 2.1 was skipped, Yii 2.2 has not yet been released.
³ PHP 8.3 EOL date.
⁴ Expected PHP 8.4 EOL date.
Community
- Participate in discussions at forums.
- Community Slack and Chat in IRC.
- Follow us on Facebook, Twitter and GitHub.
- Check other communities.
Contributing
The framework is Open Source powered by an excellent community.
You may join us and:
- Report an issue
- Translate documentation or messages
- Give us feedback or start a design discussion
- Contribute to the core code or fix bugs
- Become a sponsor
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
framework/ core framework code
tests/ tests of the core framework code
Spreading the Word
Acknowledging or citing Yii 2 is as important as direct contributions.
In presentations
If you are giving a presentation or talk featuring work that makes use of Yii 2 and would like to acknowledge it, we suggest using our logo on your title slide.
In projects
If you are using Yii 2 as part of an OpenSource project, a way to acknowledge it is to use a special badge in your README:
If your code is hosted at GitHub, you can place the following in your README.md file to get the badge:
[![Yii2](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat)](https://www.yiiframework.com/)
Sponsoring
Support this project by becoming a sponsor or a backer.