cakephp/chronos
Chronos is an immutable date and datetime library for PHP. It offers Chronos and ChronosDate objects that prevent accidental modification, keeping data predictable, and adds handy conveniences beyond native DateTime. Install via Composer with cakephp/chronos.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| aeon-php/calendar | 0.85 | Aeon Calendar is a time management framework for PHP that makes working with dates, times, time zones, and intervals easier through a clean, object-oriented API, backed by solid testing and clear documentation with examples. | 206 | 209 | 8 | 203K | 0 | 10.4 | 41.3 | — | 4 years ago | |
| php-standard-library/date-time | 0.85 | Immutable, timezone-aware date and time types for PHP, with Duration, Period, and Interval support for precise, reliable temporal calculations. | 1 | 1 | 0 | 83K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| alexeyshockov/clock | 0.85 | — | 2 | 2 | 2 | 0 | 6 | 0.8 | 1.1 | — | — | |
| tkachikov/chronos | 0.85 | Chronos is a lightweight Laravel package that brings convenient time and date utilities to your application. It offers a clean, framework-friendly API for common temporal operations, making time handling simpler, more expressive, and consistent with Laravel conventions. | 18 | 18 | 2 | 269 | 0 | 19.7 | 19.1 | — | 2 weeks ago | |
| lcobucci/clock | 0.84 | lcobucci/clock is a lightweight clock abstraction for PHP that decouples code from DateTimeImmutable. Use SystemClock for real time or FrozenClock for tests, making time-dependent logic easy to control and verify. | 799 | 801 | 33 | 7M | 1 | 30.4 | 64.2 | MIT | 5 days ago | |
| symfony/clock | 0.84 | 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. | 436 | 436 | 3 | 21M | 0 | 31.6 | 64.6 | MIT | 3 weeks ago | |
| alhames/phphelper | 0.84 | PHP Helper is a small set of utility classes and functions for PHP 7.1+ to make common tasks easier. Includes a Str helper (docs in Russian) and other lightweight tools to simplify everyday development. | 0 | 0 | 0 | 1 | 0 | 2.4 | 4.2 | MIT | 6 years ago | |
| sanmai/duoclock | 0.84 | PSR-20 clock abstraction with dual time access (DateTimeImmutable, time(), microtime()) plus mockable sleep/usleep/nanosleep for testing. Includes deterministic TimeSpy and tick helpers to measure elapsed time. Minimal dependency (psr/clock) and easy to mock. | 3 | 3 | 1 | 1M | 0 | 5.2 | 57.1 | Apache-2.0 | 10 months ago | |
| brick/date-time | 0.84 | A powerful set of immutable PHP date-time classes built on native PHP and following ISO 8601, inspired by Java's JSR 310. Adds missing concepts such as LocalDate, LocalTime, YearMonth, and MonthDay. Requires PHP 8.2+. | 361 | 365 | 36 | 242K | 19 | 37.8 | 56.0 | MIT | 4 weeks ago | |
| comsolit/clock-bundle | 0.84 | — | 0 | 0 | 1 | 0 | 4 | 1.0 | 0.8 | — | — | |
| digital-craftsman/datetime-parts | 0.84 | Thin value objects for Time, Date, Month, Year and Moment, wrapping DateTime so you never pad dates with fake times. Internal UTC with timezone-aware edits, plus Symfony normalizers and Doctrine types for storing them directly in the database. | 0 | 0 | 0 | 0 | 0 | 27.9 | — | MIT | 6 days ago |
How can I help you explore Laravel packages today?