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...
|
Person
|
Packages
|
Contributions
|
Followers
|
|
|---|---|---|---|---|
|
Dominik Chrástecký
@RikudouSage |
37 | 1,197 | 62 |
View on GitHub
|
How can I help you explore Laravel packages today?