Download the PHP package yiisoft/yii2-dev without Composer

On this page you can find all versions of the php package yiisoft/yii2-dev. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yii2-dev

Yii Framework

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.

Latest Stable Version Total Downloads Build Status codecov Scrutinizer Quality Score

Installation

Documentation

Versions & PHP compatibility

Yii2 Version PHP version Development status EOL ¹
<= 2.0.49.* >= 5.4, <= 8.3 security fixes only 23 Nov 2026 ³
>= 2.0.50 >= 7.3, <= 8.4 bug fixes and security fixes only bugfixes till 23 Nov 2026 ³, security fixes till 21 Nov 2027 ⁴
>= 2.2.0 ² >= 8.1 active development

¹ 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

Contributing

The framework is 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

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:

Yii2

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

Sponsoring

Support this project by becoming a sponsor or a backer.

OpenCollective sponsors OpenCollective backers


All versions of yii2-dev with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3.0
ext-mbstring Version *
ext-ctype Version *
lib-pcre Version *
yiisoft/yii2-composer Version ~2.0.4
ezyang/htmlpurifier Version ^4.17
cebe/markdown Version ~1.0.0 | ~1.1.0 | ~1.2.0
bower-asset/jquery Version 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/inputmask Version ^5.0.8
bower-asset/punycode Version ^2.2
bower-asset/yii2-pjax Version ~2.0.1
paragonie/random_compat Version >=1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package yiisoft/yii2-dev contains the following files

Loading the files please wait ....