PHP Package: codeception/module-doctrine2

Powerful PHP library for integrating Doctrine2 with Codeception testing framework, making database testing seamless and efficient.

Current Version: 3.0.4
Last Updated: 2024-04-04
PHP Requirement: >=7.1
Dependencies: doctrine/orm, codeception/codeception
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The Codeception Doctrine2 module provides a robust solution for testing database interactions in PHP applications. With seamless integration with Doctrine2, this module simplifies the process of writing and executing database tests. Ensure data integrity, test migrations, and verify query results with ease. Improve the quality of your applications through comprehensive database testing with Codeception and Doctrine2.

🔗 View on GitHub

Download Latest Version: 3.0.4

Download Download v3.0.4

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-doctrine2/3.0.4/autoload.php';

use Codeception\Module\Doctrine2;
use Codeception\Module\Doctrine2\Doctrine2;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Mapping\ClassMetadata;
use Codeception\Module\Doctrine2\Tests\Doctrine2Test;


$obj = new Codeception\Module\Doctrine2();
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.