Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Clock Laravel Package

beste/clock

beste/clock is a lightweight PHP clock implementation for time-dependent code. It provides a simple, test-friendly way to obtain the current time, swap in fixed or mock clocks, and improve determinism across your application and automated tests.

View on GitHub
Deep Wiki
Context7
3.0.0

This release replaces stella-maris/clock with psr/clock.

2.3.1

This release reverts the change to implement psr/clock directly, to not break dependents who rely on stella-maris/clock

2.3.0

This release re-introduces support for PHP ^8.0 and implements the freshly released psr/clock (PSR-20) directly.

2.2.0

This release drops support for PHP <8.1.

2.1.0

Adds the WrappingClock which allows using an object with a now() method returning a DateTimeImmutable object as a "real" clock.

2.0.0

This release introduces a compatibility layer with the PSR-20 draft, allowing us to already get some interoperability by depending on a shared interface.

1.0.0

Initial Release

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge