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 | 149K | 0 | 5.2 | 39.4 | 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 | 28K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| league/period | 0.81 | — | 0 | 752 | — | 125K | — | 21.6 | 32.5 | — | — | |
| 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,395 | 1,416 | 223 | 74K | 0 | 37.3 | 27.0 | MIT | 3 months ago | |
| tobya/laravel-mssql-dateformat | 0.80 | — | 2 | 2 | 3 | 66 | 1 | 2.1 | 19.1 | — | 1 year ago | |
| alexeyshockov/clock | 0.80 | — | 2 | 2 | 2 | 0 | 6 | 0.8 | 1.1 | — | — | |
| assoconnect/php-date | 0.80 | — | 7 | 7 | 1 | 293 | 0 | 21.3 | 24.4 | MIT | 3 months 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 by country (ISO alpha-2) with a simple API. Get an array of Holiday objects including localized name, CarbonImmutable date, and type (e.g., national). Supports multiple countries and is easy to extend by adding new country definitions. | 397 | 395 | 209 | 70K | 0 | 38.8 | 36.4 | MIT | 1 week 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 | — | 555 | — | 0.0 | 37.9 | — | — | |
| 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 | 95 | 5 | 25.5 | 32.7 | MIT | 2 months ago | |
| jenssegers/date | 0.79 | — | 0 | 1,847 | — | 90K | — | 27.7 | 26.1 | — | — | |
| 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. | 204 | 207 | 8 | 217K | 0 | 10.4 | 42.0 | — | 3 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 | 2K | 0 | 4.9 | 40.1 | MIT | 1 year ago |
How can I help you explore Laravel packages today?