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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| zenstruck/bytes | 0.81 | Small PHP bytes utility for working with file sizes: parse human-readable strings (e.g. "10 MB"), format byte counts, compare values, and convert between units. Handy for Laravel/PHP apps needing consistent size handling and validation. | 25 | 25 | 3 | 67K | 0 | 10.8 | 51.0 | MIT | 6 months ago | |
| florianv/business | 0.80 | Laravel package to validate, normalize, and format business identifiers and tax numbers (VAT, SIRET/SIREN, etc.) across multiple countries. Provides rules/helpers for forms and models, making compliant input handling and display easy. | 360 | 362 | 25 | 3K | 54 | 20.1 | 30.9 | MIT | 4 years ago | |
| alexeyshockov/clock | 0.80 | — | 2 | 2 | 2 | 0 | 6 | 0.8 | 1.1 | — | — | |
| tobya/laravel-mssql-dateformat | 0.80 | — | 2 | 2 | 3 | 51 | 1 | 2.1 | 17.3 | — | 1 year ago | |
| frost/distance | 0.80 | PHP distance conversion library for US and metric units. Convert between mi, ft, in, km, m, cm, and mm (US↔metric, US↔US, metric↔metric). Simple fluent API: setUnit(), setDistance(), convertTo(). | 3 | 5 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| dcarbone/gotime | 0.80 | 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 | |
| cocur/human-date | 0.79 | 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 | 28 | 3 | 1.2 | 3.4 | MIT | 12 years ago | |
| php-standard-library/date-time | 0.79 | 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 | 29K | 0 | 20.1 | 64.3 | MIT | 3 weeks ago | |
| cakephp/chronos | 0.78 | 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,361 | 1,369 | 70 | 780K | 1 | 34.2 | 43.5 | MIT | 2 months ago | |
| spatie/workshop-unit-conversions | 0.78 | Lightweight PHP package for performing unit conversions in Laravel or any PHP app. Install via Composer and convert values between supported units with a simple API. Includes tests, changelog, and MIT license. | 2 | 2 | 1 | 4 | 0 | 0.6 | 5.1 | MIT | 5 years ago | |
| alhames/phphelper | 0.77 | 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 | 5 years ago | |
| digital-craftsman/datetime-parts | 0.77 | 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 | 24.1 | 2.2 | MIT | 2 months ago | |
| baskooijmaninc/suzie | 0.77 | 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 | — | |
| brick/date-time | 0.77 | 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. | 362 | 366 | 36 | 182K | 19 | 29.1 | 49.9 | MIT | 5 months ago | |
| bitandblack/duration | 0.76 | 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 | — | 688 | — | 0.0 | 39.2 | — | — | |
| digital-craftsman/date-time-precision | 0.76 | 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 | 120 | 5 | 24.1 | 34.6 | MIT | 2 months ago | |
| sokil/php-isocodes-db-only | 0.76 | Database-only package for sokil/php-isocodes: ISO 3166-1 countries, 3166-2 subdivisions, 639-3 languages, 4217 currencies, and 15924 scripts. No i18n/localized names. Updated monthly (2nd day). | 3 | 3 | 0 | 26K | 0 | 14.3 | 58.1 | MIT | 5 months ago | |
| aeon-php/calendar | 0.75 | 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 | |
| mr.incognito/date-converter | 0.74 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| league/period | 0.74 | — | 733 | 752 | 45 | 122K | 0 | 20.7 | 32.6 | MIT | 8 months ago |
How can I help you explore Laravel packages today?