rikudou/clock
A lightweight clock abstraction for PHP that makes time-dependent code easier to test. Inject a clock instead of calling time() directly, use the system clock in production, and swap in a fixed or mocked clock in tests to control dates and durations reliably. Framework-agnostic and simple to integra...
None
|
Package
|
Constraint
|
|---|---|
| friendsofphp/php-cs-fixer | ^2.16 |
How can I help you explore Laravel packages today?