yiisoft / yii2
Yii PHP Framework Version 2
                                    Fund package maintenance!
                                                                            
                                                                                                                                        Open Collective
                                                                                    
                                                                            
                                                                                                                                        yiisoft
                                                                                    
                                                                            
                                                                                                                                        Tidelift
                                                                                    
                                                                
Installs: 27 587 737
Dependents: 13 156
Suggesters: 9
Security: 12
Stars: 236
Watchers: 51
Forks: 133
pkg:composer/yiisoft/yii2
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: ^1.4
 - bower-asset/yii2-pjax: ~2.0.1
 - cebe/markdown: ~1.0.0 | ~1.1.0 | ~1.2.0
 - ezyang/htmlpurifier: ^4.17
 - yiisoft/yii2-composer: ~2.0.4
 
- 22.0.x-dev
 - 3.0.x-dev
 - 2.2.x-dev
 - 2.1.x-dev
 - dev-master / 2.0.x-dev
 - 2.0.53
 - 2.0.52
 - 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
 
This package is auto-updated.
Last update: 2025-10-08 10:26:45 UTC
README
This is the core framework code of Yii 2.
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-file.
Installation
The preferred way to install the Yii framework is through composer.
Refer to Bower and NPM Assets installation to select an asset installation method.
Either run
composer require yiisoft/yii2
or add
"yiisoft/yii2": "~2.0.0",
to the require section of your composer.json.