sanmai/duoclock
PSR-20 clock abstraction with dual time access (DateTimeImmutable, time(), microtime()) plus mockable sleep/usleep/nanosleep for testing. Includes deterministic TimeSpy and tick helpers to measure elapsed time. Minimal dependency (psr/clock) and easy to mock.
|
Package
|
Constraint
|
|---|---|
| psr/clock | ^1.0 |
|
Package
|
Constraint
|
|---|---|
| ergebnis/composer-normalize | ^2.8 |
| friendsofphp/php-cs-fixer | ^3.17 |
| infection/infection | >=0.29 |
| php-coveralls/php-coveralls | ^2.4.1 |
| phpstan/extension-installer | ^1.4 |
| phpstan/phpstan | ^2 |
| phpunit/phpunit | ^11.5.25 |
| sanmai/phpstan-rules | ^0.3.1 |
How can I help you explore Laravel packages today?