PHP Package: codeception/module-rest

Powerful PHP library for testing RESTful APIs with Codeception framework.

Current Version: 3.4.0
Last Updated: 2024-07-12
PHP Requirement: >=7.1
Dependencies: codeception/codeception, guzzlehttp/guzzle, phpunit/phpunit
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The Codeception Module REST library provides comprehensive tools for testing RESTful APIs seamlessly within the Codeception testing framework. With built-in support for common HTTP methods, request/response assertions, and data manipulation, it simplifies API testing workflows. This module enhances the testing process by offering detailed response validation, customizable request configurations, and seamless integration with other Codeception modules.

🔗 View on GitHub

Download Latest Version: 3.4.0

Download Download v3.4.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/codeception/module-rest/3.4.0/autoload.php';

use Codeception\Module\REST;
use GuzzleHttp\Client;
use PHPUnit\Framework\TestCase;


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