eventsauce/clock
Simple clock abstraction for PHP. Use SystemClock in production and TestClock in tests to control time deterministically. Get now() as DateTimeImmutable, access timeZone(), move time forward, tick to system time, or fixate to a specific moment.
|
Package
|
Constraint
|
|---|---|
| psr/clock | ^1.0 |
|
Package
|
Constraint
|
|---|---|
| friendsofphp/php-cs-fixer | ^v3.65.0 |
| phpstan/phpstan | ^2.0 |
| phpunit/phpunit | ^9.6 |
How can I help you explore Laravel packages today?