spatie/period
Immutable date period objects for PHP with powerful comparison tools. Create periods from any DateTime (including Carbon), then calculate overlaps, gaps, intersections, differences, containment, and other complex comparisons across two or many periods.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/test-time | 0.82 | Control time in tests with Spatie TestTime—freeze or advance Carbon-based timestamps dynamically for time-sensitive assertions. Simplify testing date-dependent logic by manually adjusting time without altering real-world clocks. Works seamlessly with Carbon’s methods like addYear(), subDay(), or cus... | 208 | 208 | 9 | 178K | 0 | 5.2 | 40.5 | MIT | 2 years ago | |
| php-standard-library/date-time | 0.82 | Immutable, timezone-aware DateTime types for PHP. Provides Duration, Period, and Interval helpers for safer date/time arithmetic and ranges, designed as a standard-library style package with clear docs and contribution links. | 1 | 1 | 0 | 43K | 0 | 16.7 | 62.7 | MIT | 3 months ago | |
| league/period | 0.81 | — | 733 | 753 | 45 | 131K | 0 | 18.6 | 32.4 | MIT | 11 months ago | |
| spatie/laravel-google-calendar | 0.81 | Laravel package to manage Google Calendar events with a clean API. Create, update, delete, and fetch events, add attendees and Google Meet links, and work with Carbon date/times. Uses Google service account credentials for authenticated access. | 1,403 | 1,426 | 221 | 85K | 0 | 33.0 | 26.9 | MIT | 7 months ago | |
| tobya/laravel-mssql-dateformat | 0.80 | — | 2 | 2 | 3 | 79 | 1 | 2.1 | 19.8 | — | 1 year ago | |
| alexeyshockov/clock | 0.80 | — | 2 | 2 | 2 | 0 | 6 | 0.8 | 1.1 | — | — | |
| assoconnect/php-date | 0.80 | — | 7 | 7 | 1 | 427 | 0 | 17.0 | 26.0 | MIT | 7 months ago | |
| awd-studio/vo-date-time | 0.79 | Immutable PHP 8.3+ date-time value object. Create from strings, compare (equal/greater/less/between), and return new instances for changes like nextDay(), copy(), or modified() with DateTimePeriod offsets (days, minutes, weeks). | 0 | 0 | 0 | 0 | 0 | 0.9 | — | — | 1 year ago | |
| baskooijmaninc/suzie | 0.79 | Laravel package providing Suzie-related helpers and integrations for your app. Includes service provider setup, configuration options, and utilities to simplify common tasks and streamline development workflows. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| spatie/holidays | 0.79 | Calculate public holidays for supported countries using ISO codes or country classes. Get an array of Holiday objects with name, CarbonImmutable date, and type (e.g., national). PHP 8.4+ package by Spatie, with extensible country definitions. | 403 | 404 | 210 | 94K | 0 | 39.5 | 38.3 | MIT | 1 month ago | |
| bitandblack/duration | 0.79 | bitandblack/duration provides a small PHP/Laravel utility for working with time spans: create, parse, and format durations in a readable way, convert between units, and simplify common duration calculations for apps, jobs, and reports. | 0 | 0 | — | 590 | — | 0.0 | 38.3 | — | — | |
| digital-craftsman/date-time-precision | 0.79 | Thin PHP value objects for precise date/time concepts: Moment (UTC-backed) plus Time, Date, Month, Year, Day, Weekday and collections. Avoid misleading DateTime comparisons, handle timezone-safe modifications (DST), with Symfony normalizers and Doctrine types. | 0 | 0 | 0 | 32 | 5 | 20.2 | 25.0 | MIT | 6 months ago | |
| jenssegers/date | 0.79 | — | 1,803 | 1,843 | 252 | 87K | 7 | 27.7 | 25.9 | MIT | 6 years ago | |
| aeon-php/calendar | 0.78 | 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 | |
| dcarbone/gotime | 0.78 | Go-inspired time utilities for PHP 8.1+: a Duration type (parse/format like 5s, JSON as nanoseconds) plus helpers to generate DateInterval specs for DateTime add/sub. Includes a Time wrapper around DateTime aiming for Go time.Time-style APIs. | 2 | 2 | 1 | 3K | 0 | 23.4 | 47.8 | MIT | 2 months ago |
How can I help you explore Laravel packages today?