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

Date Interval Laravel Package

herrera-io/date-interval

Extends PHP’s DateInterval with handy conversions: turn intervals into ISO interval specs and seconds, and recreate intervals from seconds. Useful for normalizing and serializing durations (e.g., P2H <-> 7200).

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
nesbot/carbon 0.86 Carbon is a PHP DateTime extension for easy date/time parsing, formatting, arithmetic, timezones, and human-friendly differences. Common in Laravel, it adds a fluent API, helpers like now()/today(), and readable methods for complex date logic. 191 606 29 15M 2 27.3 64.3 MIT 4 weeks ago
View on GitHub
Context7
alexeyshockov/clock 0.85 2 2 2 0 6 0.8 1.1
View on GitHub
Context7
moment/moment 0.85 Moment.js is a widely used JavaScript library for parsing, validating, manipulating, and formatting dates and times. It supports locales, time zones via plugins, and human-friendly output like relative time, making date handling simpler across apps. 47,926 47,947 6,988 10K 171 79.8 32.6 MIT 1 week ago
View on GitHub
Deep Wiki
Context7
bitandblack/duration 0.84 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 725 0.0 39.3
View on GitHub
Context7
alhames/phphelper 0.83 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 0 0 2.4 MIT 6 years ago
View on GitHub
Context7
aeon-php/calendar 0.82 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 192K 0 10.4 41.0 3 years ago
View on GitHub
Context7
jenssegers/date 0.82 1,804 1,846 252 83K 7 27.7 25.6 MIT 6 years ago
View on GitHub
Deep Wiki
Context7
cakephp/chronos 0.81 Chronos provides immutable date/time objects for PHP, helping prevent accidental mutations and side effects. Includes ChronosDate for calendar dates fixed at 00:00:00, plus convenient APIs inspired by Carbon but no longer extending DateTime. 1,362 1,369 70 824K 1 32.5 43.3 MIT 3 months ago
View on GitHub
Deep Wiki
Context7
digital-craftsman/datetime-parts 0.81 Value objects for precise date/time parts in PHP: Moment (UTC-based) plus Time, Date, Month, Year, Day/Weekday and collections. Avoid misleading DateTime comparisons, handle timezone-safe modifications across DST, with Symfony normalizers and Doctrine types. 0 0 0 0 5 22.0 2.1 MIT 4 months ago
View on GitHub
Context7
brick/date-time 0.81 Immutable, ISO-8601–focused date/time API for PHP 8.2+ built on top of native DateTime, adding missing types like LocalDate, LocalTime, YearMonth, and MonthDay. Inspired by Java’s JSR-310, well-tested, production-ready, Composer installable. 361 367 36 177K 19 26.6 49.1 MIT 7 months ago
View on GitHub
Context7
bretterer/iso_duration_converter 0.80 Lightweight PHP helper to convert ISO 8601 duration strings (e.g., PT1H30M, P2DT3H) into usable values like seconds or formatted time. Handy for parsing API durations, validating inputs, and normalizing durations in Laravel or any PHP app. 27 27 1 10K 0 0.5 35.5 10 years ago
View on GitHub
Context7
digital-craftsman/date-time-precision 0.80 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 69 5 21.9 30.4 MIT 4 months ago
View on GitHub
Context7
php-standard-library/date-time 0.80 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 38K 0 18.0 63.3 MIT 2 months ago
View on GitHub
Context7
dcarbone/gotime 0.79 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 25.4 49.8 MIT 1 month ago
View on GitHub
Context7
cocur/human-date 0.76 Transforms DateTime values into human‑readable strings like Today, Tomorrow, Yesterday, Next Tuesday, or formatted dates. Supports translated strings via a translation interface (including Symfony Translation). Lightweight, no external dependencies, PSR‑4, PHP 5.4+ and HHVM. 28 30 1 54 3 1.2 6.7 MIT 12 years ago
View on GitHub
Context7
herrera-io/doctrine-dateinterval 0.75 Adds DateInterval support to Doctrine DBAL and ORM. Provides a custom DBAL type (dateinterval) plus a DATE_INTERVAL DQL function so you can map and query PHP DateInterval values in entities and database fields. 6 6 3 146 1 0.1 13.9 MIT
View on GitHub
Context7
league/period 0.75 733 753 45 131K 0 18.6 32.4 MIT 9 months ago
View on GitHub
Context7
assoconnect/php-date 0.75 7 7 1 916 0 17.9 31.2 MIT 5 months ago
View on GitHub
Context7
label84/laravel-hours-helper 0.74 Generate Laravel collections of time/date intervals for any period: build dropdown-ready schedules with custom formatting, exclusions, support for past-midnight ranges, and multi-day spans. Simple facade API to create evenly spaced slots like 08:00–09:30 every 30 minutes. 276 276 23 3K 0 16.9 15.9 MIT 4 months ago
View on GitHub
Context7
herrera-io/phpunit-test-case 0.65 PHPUnit TestCase class and Extras trait that add helpers for common test chores: create/delete temporary files and directories, call protected/private methods, and get/set protected/private properties. Use as a base class or mix into your own test case. 1 1 0 29 0 0.0 11.6 MIT
View on GitHub
Context7
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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky