Weave 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

symfony/clock

Decouples your PHP applications from the system clock by injecting a ClockInterface, so you can get the current time, force a timezone, or pause execution with sleep, and swap in a mock clock for testing.

View on GitHub
Deep Wiki
Context7
v8.1.9

Changelog (https://github.com/symfony/clock/compare/v8.1.0...v8.1.9)

  • bug #66833 Fix DatePoint being one hour off when its reference is in the DST fall-back hour (@nicolas-grekas)
  • bug #66831 Fix DatePoint keeping the current time of day for dates with a relative part (@nicolas-grekas)
  • bug #66708 Fix new DatePoint() being one hour off during the DST fall-back hour (@nicolas-grekas)
  • bug #66707 Fix MockClock::sleep() with dates before 1970 (@nicolas-grekas)
v8.1.0
v8.1.0-BETA1
v8.0.8
v7.4.8
v7.3.8

Changelog (https://github.com/symfony/clock/compare/v7.3.7...v7.3.8)

  • bug symfony/symfony#62346 [Clock] Align MockClock::sleep() behavior with NativeClock for negative values (@yoeunes)
v6.4.30

Changelog (https://github.com/symfony/clock/compare/v6.4.29...v6.4.30)

  • bug symfony/symfony#62346 [Clock] Align MockClock::sleep() behavior with NativeClock for negative values (@yoeunes)
v7.4.0
v8.0.0
v8.0.0-RC1

Changelog (https://github.com/symfony/clock/compare/v8.0.0-BETA2...v8.0.0-RC1)

  • bug symfony/symfony#62346 [Clock] Align MockClock::sleep() behavior with NativeClock for negative values (@yoeunes)
v7.4.0-RC1

Changelog (https://github.com/symfony/clock/compare/v7.4.0-BETA2...v7.4.0-RC1)

  • bug symfony/symfony#62346 [Clock] Align MockClock::sleep() behavior with NativeClock for negative values (@yoeunes)
v8.0.0-BETA1

Changelog (https://github.com/symfony/clock/compare/v7.3.4...v8.0.0-BETA1)

  • feature symfony/symfony#60639 Bump Symfony 8 to PHP >= 8.4 (@nicolas-grekas)
v7.4.0-BETA1
v6.4.24
v7.3.0
v7.3.0-RC1
v7.3.0-BETA1
v7.2.0
v7.2.0-RC1
v7.2.0-BETA1
v7.1.6
v6.4.13
v7.1.1
v7.0.8
v6.4.8
v7.1.0
v7.1.0-RC1
v7.1.0-BETA1

Changelog (https://github.com/symfony/clock/compare/v7.0.7...v7.1.0-BETA1)

  • feature symfony/symfony#54442 [Clock] Add a polyfill for DateTimeImmutable::createFromTimestamp() (@derrabus)
  • feature symfony/symfony#53942 [Clock] Add get/setMicroseconds() (@nicolas-grekas)
  • feature symfony/symfony#53080 [Clock] Return Symfony ClockInterface in ClockSensitiveTrait (@ruudk)
v7.0.7

Changelog (https://github.com/symfony/clock/compare/v7.0.6...v7.0.7)

  • bug symfony/symfony#54530 [Clock] initialize the current time with midnight before modifying the date (@xabbuh)
v6.4.7

Changelog (https://github.com/symfony/clock/compare/v6.4.6...v6.4.7)

  • bug symfony/symfony#54530 [Clock] initialize the current time with midnight before modifying the date (@xabbuh)
v7.0.5

Changelog (https://github.com/symfony/clock/compare/v7.0.4...v7.0.5)

  • bug symfony/symfony#54129 [Clock] Add attributes to support PHPUnit 10 + 11 (@ruudk)
v6.4.5

Changelog (https://github.com/symfony/clock/compare/v6.4.4...v6.4.5)

  • bug symfony/symfony#54129 [Clock] Add attributes to support PHPUnit 10 + 11 (@ruudk)
v7.0.3
v6.4.3
v6.3.12
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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings