PHP Package: spatie/test-time

Spatie's test-time library offers enhanced PHP testing capabilities for time-related scenarios, providing easy and efficient time manipulation for unit and integration tests.

Current Version: 1.3.3
Last Updated: 2024-02-05
PHP Requirement: ^7.3|^8.0
Dependencies: None

Package Description

Enhance your PHP testing workflow with spatie's test-time library, designed to streamline time-related testing scenarios. With a robust set of utilities, this library enables seamless time manipulation for your unit tests, ensuring accurate and reliable results across various time-sensitive test cases.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.3.3

Download Download v1.3.3

Code Integration Example

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

<?php
// Example from PHPlibraries.com

require_once 'libs/spatie/test-time/1.3.3/loader.php';
use Spatie\TestTime\TestTime;

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