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

psr/clock

PSR-20 Clock interface for PHP. Defines ClockInterface::now() returning DateTimeImmutable, enabling dependency injection of time sources and easy testing. This package provides only the interface; use or create an implementation.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit is excellent for decoupling time dependencies in Laravel applications. The interface aligns with Laravel's dependency injection container, enabling clean separation of concerns between time-sensitive logic and implementation details. Integration feasibility is high due to minimal setup—only requiring composer require psr/clock and binding an implementation. Technical risk is low as it's a PSR standard with no runtime code, but the "Dependents: 0" metric may indicate limited adoption in existing Laravel ecosystems (though PSR interfaces often don't show direct dependents). Key questions include: Which PSR-20 implementations are most compatible with Laravel? How does timezone handling work across implementations? Are there known conflicts with Laravel

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport