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 | 8.7 | 50.2 | MIT | 8 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 | 62 | 20.9 | 33.4 | 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 | 79 | 1 | 2.1 | 19.8 | — | 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 | 3K | 0 | 25.4 | 49.8 | MIT | 1 month ago | |
| mr.incognito/date-converter | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| danharrin/date-format-converter | 0.80 | Convert date format strings between PHP, Moment.js, and other common tokens. Handy for keeping Laravel backends and JavaScript frontends in sync when parsing, formatting, or validating dates across different libraries and locales. | 32 | 32 | 2 | 3M | 0 | 0.8 | 55.3 | MIT | 2 years 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 | 125 | 3 | 1.2 | 6.7 | 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 | 39K | 0 | 18.0 | 63.3 | MIT | 2 months 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 | — | 725 | — | 0.0 | 39.5 | — | — | |
| jenssegers/date | 0.78 | — | 1,804 | 1,846 | 252 | 83K | 7 | 27.7 | 25.6 | MIT | 6 years 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,362 | 1,369 | 70 | 824K | 1 | 32.5 | 43.3 | MIT | 3 months 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 | 149 | 0 | 0.2 | 10.5 | MIT | — | |
| 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 | 0 | 0 | 0.6 | — | 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 | 6 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 | 22.0 | 2.1 | MIT | 4 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. | 361 | 367 | 36 | 177K | 19 | 26.6 | 49.1 | MIT | 7 months ago | |
| 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 | 69 | 5 | 21.9 | 30.4 | MIT | 4 months ago |
How can I help you explore Laravel packages today?