lcobucci/clock
Small PHP clock abstraction to decouple your code from direct DateTimeImmutable instantiation. Depend on the Clock interface and use SystemClock for real time or FrozenClock for deterministic tests, with explicit timezone support.
|
Package
|
Constraint
|
|---|---|
| psr/clock | ^1.0 |
|
Package
|
Constraint
|
|---|---|
| infection/infection | ^0.33 |
| lcobucci/coding-standard | ^12.0 |
| phpstan/extension-installer | ^1.3.1 |
| phpstan/phpstan | ^2.1 |
| phpstan/phpstan-deprecation-rules | ^2.0 |
| phpstan/phpstan-phpunit | ^2.0 |
| phpstan/phpstan-strict-rules | ^2.0 |
| phpunit/phpunit | ^13.0 |
How can I help you explore Laravel packages today?