bretterer/iso_duration_converter
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| chrisdicarlo/eloquent-human-timestamps | 0.81 | Adds human-readable accessors to Eloquent models so timestamp columns like created_at and updated_at can render as phrases such as "3 hours ago" or "in 2 days." Simple Laravel trait integration, customizable formatting, no schema changes needed. | 36 | 36 | 2 | 364 | 0 | 1.6 | 14.4 | MIT | 11 months ago | |
| apie/dateformat-to-regex | 0.81 | Converts PHP date() format strings into “simple” regular expressions for validating date/time strings. Generates regex that matches the format pattern (not full calendar validation, e.g., may accept 30 February). Includes a static DateFormatToRegex::formatToRegex() helper. | 0 | 0 | 0 | 7 | 0 | 0.0 | 12.5 | MIT | — | |
| label84/laravel-hours-helper | 0.80 | Generate an Illuminate\Support\Collection of dates and times at a set interval for a given period—ideal for calendar dropdowns, meeting invites, and event scheduling. Supports custom formatting, excluded intervals, past-midnight ranges, and multi-day spans. | 276 | 277 | 23 | 4K | 1 | 12.0 | 16.4 | MIT | 7 months ago | |
| mateusjunges/laravel-time-helpers | 0.80 | Laravel Time Helpers adds handy date and time utilities to Laravel apps: Carbon macros, timezone conversion, and human-friendly formatting. Replace repetitive, error-prone date logic with clean, readable helpers that keep your code simple. | 38 | — | 2 | — | 0 | 0.3 | — | MIT | 4 years ago | |
| omaralalwi/laravel-time-craft | 0.80 | Laravel Time Craft adds Eloquent date scopes (today, yesterday, this week, last N days) plus readable date accessors and formatting helpers to any model, with customizable date fields and timezone-aware querying. | 13 | 12 | 3 | 483 | 0 | 15.6 | 24.7 | MIT | 3 months ago | |
| devloops/time-picker | 0.80 | devloops/time-picker is a Laravel package that adds a time-picker form input, making it easy to include time selection in Blade views and forms. A small, focused component for apps that need users to choose a time. | 0 | 0 | 0 | 349 | 0 | 0.0 | 35.1 | MIT | 1 year ago | |
| apie/date-value-objects | 0.80 | Date-related value objects for PHP/Apie that model only the date/time parts you need (LocalDate, Time, HourAndMinutes, UnixTimestamp, DateWithTimezone). Helps validate expected formats without relying on full DateTimeImmutable. | 0 | 0 | 0 | 12 | 0 | 0.0 | 15.4 | MIT | — | |
| assoconnect/php-date-bundle | 0.80 | — | 3 | 3 | 0 | 555 | 0 | 29.3 | 34.8 | MIT | 1 week ago | |
| fetzi/server-timing | 0.79 | Add Server-Timing headers to Laravel responses and expose app, database, and custom performance metrics in your browser's DevTools Performance tab. Lightweight middleware for profiling without extra tooling. | 44 | — | 3 | — | 0 | 0.7 | — | MIT | 1 year 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 | — | 697 | — | 0.0 | 39.3 | — | — | |
| mpratt/relativetime | 0.79 | A lightweight PHP library for converting timestamps and DateTime objects into human-readable relative time strings like "5 minutes ago" or "in 2 days", with localization support and simple integration into Laravel or any PHP project. | 31 | — | 14 | — | 0 | 0.6 | — | MIT | — |
|
| php-standard-library/date-time | 0.78 | 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 | |
| kachnitel/duration-bundle | 0.78 | A Laravel/PHP package for working with and formatting durations, helping you convert time values into readable strings and handle duration logic cleanly in your applications. | 0 | 0 | 0 | 0 | 0 | 2.0 | — | MIT | 11 months ago | |
| rafrsr/form-extra-bundle | 0.78 | Form Extra Bundle adds handy extra form types and helpers to Symfony, including autocomplete fields, select2 and datepicker widgets, and other reusable form utilities that reduce boilerplate when building rich forms. | 1 | 1 | 1 | 0 | 0 | 0.3 | — | MIT | 6 years ago | |
| herrera-io/date-interval | 0.78 | 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). | 15 | 15 | 7 | 189 | 0 | 0.2 | 10.8 | MIT | — | |
| jimmiw/php-time-ago | 0.78 | A lightweight PHP library that turns timestamps into human-readable "time ago" strings such as "3 hours ago" or "just now". Includes translations for many languages, handles future dates, and drops easily into any PHP or Laravel project. | 257 | — | 92 | — | 0 | 4.1 | — | — | 4 years ago |
|
| nehlsen/time-formatter-bundle | 0.78 | A Symfony bundle that adds reusable services for formatting time values in your templates and PHP code. Keeps duration and time display logic in one place so views stay clean. Install via Composer, then configure and use the provided formatter in your controllers or Twig templates. | 0 | 0 | 0 | 0 | 0 | 0.4 | — | — | 2 years ago | |
| digital-craftsman/datetime-parts | 0.77 | 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 | |
| psx/datetime | 0.77 | PSX DateTime is a PHP library for working with dates and times, offering utilities for parsing, formatting, timezone conversion, and date arithmetic. It integrates with the PSX framework and provides a lightweight, object-oriented API for common temporal tasks in PHP applications. | 2 | 2 | 0 | 5K | 0 | 0.0 | 44.3 | Apache-2.0 | — | |
| smirik/php-datetime-ago | 0.77 | A small PHP library that turns timestamps and DateTime objects into human-friendly "time ago" strings like "5 minutes ago" or "2 days ago." Lightweight, no framework required, with configurable formats and simple, localization-friendly output for feeds, comments, and ac... | 22 | 22 | 5 | 1K | 1 | 0.6 | 23.4 | MIT | — |
How can I help you explore Laravel packages today?