PHP Package: yiisoft/yii2

Yii2 is a high-performance PHP framework for developing modern web applications.

Current Version: 2.0.53
Last Updated: 2025-06-27
PHP Requirement: >=7.3.0
Dependencies:
yiisoft/yii2-bootstrap
yiisoft/yii2-queue
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Yii2 is a feature-rich, high-performance PHP framework for developing modern web applications quickly. It promotes clean, DRY design and encourages rapid development. Yii2 comes with rich features like MVC, DAO/ActiveRecord, caching, RESTful API development support, and more.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.0.53

Download Download v2.0.53

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/yiisoft/yii2/2.0.53/loader.php';
require_once 'libs/yiisoft/yii2-bootstrap/2.0.11/loader.php';
require_once 'libs/yiisoft/yii2-queue/2.0.2/loader.php';

use yii\web\Controller;
use yii\db\ActiveRecord;

$obj = new Controller();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.