Installation
Requirements
- PHP 8.3 or higher
fast-forward/container1.6 or higherpsr/clock1.0
Install the package with Composer:
composer require fast-forward/clock
What this package provides
This package provides two PSR-20 compliant clock implementations:
FastForward\Clock\SystemClock: Returns the current system time with optional timezone supportFastForward\Clock\FrozenClock: Returns a fixed time, ideal for testing
Additionally, it provides ClockServiceProvider
for integration with Fast Forward Container.
If your application already uses Fast Forward Container, simply register the service provider to get started.