PHP Package: codeception/module-yii2

Codeception module for testing Yii2 applications with ease and efficiency.

Current Version: 2.0.2
Last Updated: 2025-03-02
PHP Requirement: >=7.1
Dependencies: codeception/codeception, yiisoft/yii2
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The Codeception Yii2 module provides a seamless testing experience for Yii2 applications, allowing developers to write comprehensive tests with ease. It offers a range of features to streamline the testing process, including fixtures, helpers, and assertions. By integrating seamlessly with Yii2, this module ensures efficient and reliable testing workflows for developers.

🔗 View on GitHub

Download Latest Version: 2.0.2

Download Download v2.0.2

Code Integration Example

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

<?php

// Example from PHPlibraries.com
require_once 'libs/codeception/module-yii2/2.0.2/autoload.php';

use Codeception\Module\Yii2;
use Codeception\Module\Yii2\Mailer;
use Codeception\Module\Yii2\REST;
use Yii\Base\Yii;


$obj = new Codeception\Module\Yii2();
echo "✅ Example created successfully.";

?>

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