bitandblack/duration
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| herrera-io/date-interval | 0.85 | 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 | — | |
| desarrolla2/timer | 0.85 | Lightweight PHP timer utility for measuring execution time. Start/stop laps, track multiple timers, and get elapsed time for profiling and benchmarking small code sections. Suitable for quick performance checks during development. | 4 | 5 | 1 | 201 | 0 | 0.1 | 22.3 | MIT | — | |
| fresh/datetime | 0.84 | Fresh DateTime adds convenient, expressive date and time handling to Laravel and PHP applications. It simplifies parsing, formatting, comparing, and manipulating dates, with timezone-aware helpers and a clean, chainable API for everyday scheduling and timestamp tasks. | 18 | 19 | 3 | 35K | 0 | 5.3 | 46.9 | MIT | 9 months ago | |
| php-standard-library/date-time | 0.83 | 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 | |
| alexeyshockov/clock | 0.83 | — | 2 | 2 | 2 | 0 | 6 | 0.8 | 1.1 | — | — | |
| psx/datetime | 0.83 | 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 | — | |
| assoconnect/php-date | 0.83 | A lightweight PHP AbsoluteDate object for handling dates without time or timezone concerns. Built on DateTime, it represents a simple calendar day—perfect for birthdays and other timezone-agnostic dates—with easy formatting and timezone-aware creation. | 7 | 7 | 1 | 427 | 0 | 26.1 | 27.9 | MIT | 1 month ago | |
| postyou/dealsandprojects-bundle | 0.83 | A Contao bundle for managing deals and projects, giving editors structured backend modules to create, organize, and publish offers or project entries. Content is delivered through frontend modules and templates, making it straightforward to present deal listings and project showcases on a Contao sit... | 0 | — | 0 | — | 0 | 0.3 | — | MIT | 2 years ago | |
| beste/clock | 0.82 | A collection of PSR-20 clock implementations for PHP, including SystemClock, LocalizedClock, UTCClock, FrozenClock for tests, MinuteClock, and WrappingClock. Freeze time, set time zones, or wrap any object with a now() method. Install via composer require beste/clock. | 75 | 75 | 1 | 3M | 0 | 19.5 | 63.2 | MIT | 2 months ago | |
| brick/date-time | 0.82 | A powerful set of immutable PHP date-time classes built on native PHP and following ISO 8601, inspired by Java's JSR 310. Adds missing concepts such as LocalDate, LocalTime, YearMonth, and MonthDay. Requires PHP 8.2+. | 361 | 365 | 36 | 242K | 19 | 37.8 | 56.0 | MIT | 4 weeks ago | |
| omaralalwi/laravel-time-craft | 0.82 | 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 | |
| florianv/business | 0.82 | 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. | 358 | 361 | 25 | 8K | 61 | 20.7 | 38.2 | MIT | 4 years ago | |
| healthengine/laravel-chronos | 0.82 | Chronos, from HealthEngine, gives Laravel apps control over the clock: freeze, travel to, or shift time in your application and test suite so date-dependent logic stays deterministic. Ideal for testing scheduled jobs, expiries, and time-sensitive features. | 3 | 3 | 1 | 0 | 0 | 0.0 | — | MIT | 2 years ago | |
| league/period | 0.82 | League\Period is PHP's missing time range API, offering immutable Interval and Bounds value objects, named constructors, and full support for simple or complex time range logic. Framework-agnostic, documented, and requiring PHP 8.1+. | 731 | 753 | 46 | 131K | 0 | 32.4 | 36.1 | MIT | 1 month ago | |
| jimmiw/php-time-ago | 0.82 | 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 |
|
| phpugl/dime-timetracker-bundle | 0.82 | Symfony bundle that integrates Dime time tracking into PHP applications, providing configuration and services for recording work hours, managing projects and tasks, and adding timetracking features to Symfony projects. | 12 | 12 | 1 | 0 | 0 | 0.1 | — | — | — | |
| sifex/sla-timer | 0.82 | Sifex SLA Timer helps Laravel apps manage service-level agreements with timers that track elapsed and remaining time, pause and resume as needed, and check for breaches. Attach timers to Eloquent models and query active, paused, or expired SLAs through a simple API. | 36 | — | 0 | — | 2 | 16.5 | — | MIT | 2 months ago | |
| awd-studio/vo-date-time | 0.82 | Immutable PHP 8.3+ date-time value object. Create from strings, compare (equal/greater/less/between), and return new instances for changes like nextDay(), copy(), or modified() with DateTimePeriod offsets (days, minutes, weeks). | 0 | 0 | 0 | 0 | 0 | 0.9 | — | — | 1 year ago | |
| lcobucci/clock | 0.82 | lcobucci/clock is a lightweight clock abstraction for PHP that decouples code from DateTimeImmutable. Use SystemClock for real time or FrozenClock for tests, making time-dependent logic easy to control and verify. | 799 | 801 | 33 | 7M | 1 | 30.4 | 64.2 | MIT | 5 days ago | |
| tempest/clock | 0.82 | A lightweight clock abstraction for the Tempest framework, offering a testable interface for reading the current time. Swap in a frozen or mock clock during tests so time-dependent code stays deterministic instead of relying on native PHP date functions. | 0 | 0 | 0 | 113 | 0 | 0.0 | 28.4 | MIT | — |
How can I help you explore Laravel packages today?