PHP Package: laminas/laminas-test

Laminas Test is a PHP library for unit testing and integration testing your applications with ease and efficiency. It provides a comprehensive set of tools for writing tests and running them seamlessly.

Current Version: 4.12.0
Last Updated: 2025-02-25
PHP Requirement: ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
Dependencies:
laminas/laminas-foo
mockery/mockery
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laminas Test is a powerful testing framework designed to help developers in writing robust and reliable tests for their PHP applications. With a wide range of features and capabilities, Laminas Test offers a flexible and intuitive way to create and execute tests, ensuring high code quality and improved application performance.

🔗 View on GitHub

Download Latest Version: 4.12.0

Download Download v4.12.0

Code Integration Example

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

<?php
// Example from PHPlibraries.com
require_once 'libs/laminas/laminas-test/4.12.0/loader.php';
require_once 'libs/laminas/laminas-foo/{lib_version}/loader.php';
require_once 'libs/mockery/mockery/1.6.12/loader.php';

use Laminas\Test\PHPUnit\Controller\AbstractHttpControllerTestCase;
use Mockery\Mock;
use Laminas\Test\PHPUnit\Controller\AbstractRestfulControllerTestCase;

$obj = new AbstractHttpControllerTestCase();
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.