PHPackages                             djoudi/laravel-duration - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. djoudi/laravel-duration

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

djoudi/laravel-duration
=======================

A wrapper of kevinkhill/php-duration

1.0.1(6y ago)121MITPHP

Since May 31Pushed 6y ago1 watchersCompare

[ Source](https://github.com/djoudi/laravel-duration)[ Packagist](https://packagist.org/packages/djoudi/laravel-duration)[ RSS](/packages/djoudi-laravel-duration/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (7)Versions (4)Used By (0)

laravel-duration
================

[](#laravel-duration)

description
===========

[](#description)

Convert durations of time between colon-formatted, human-readable, and seconds use Laravel

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)![Travis](https://camo.githubusercontent.com/3155f010b3a7a7b8398a516efee381abbd43bce2cf63daf518a8ee80ee39b360/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f646a6f7564692f6c61726176656c2d6475726174696f6e2e7376673f7374796c653d666c61742d737175617265)[![Total Downloads](https://camo.githubusercontent.com/5d503a8fbd326a427c786fe7e2eb1df1d4ccfd2ecce7dc59eae1e3038971bf0e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646a6f7564692f6c61726176656c2d6475726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/djoudi/laravel-duration)[![StyleCI](https://camo.githubusercontent.com/c8ac646b094c5deb1f046b6055b3fbbf3437e6670f7ed37818a2791987eb4547/68747470733a2f2f7374796c6563692e696f2f7265706f732f3138393531373439382f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/189517498)

Install
-------

[](#install)

`composer require djoudi/laravel-duration`

Usage
-----

[](#usage)

Write a few lines about the usage of this package.

Testing
-------

[](#testing)

Run the tests with:

```
vendor/bin/phpunit
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](/LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2538d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b11a661466c23df3760f4cf54750a24f0809e6653e029ae1b6468adaae4f2b6?d=identicon)[Djoudi](/maintainers/Djoudi)

---

Top Contributors

[![EcoinTest](https://avatars.githubusercontent.com/u/153815470?v=4)](https://github.com/EcoinTest "EcoinTest (12 commits)")

---

Tags

durationhuman-readablelaraveltimetimer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/djoudi-laravel-duration/health.svg)

```
[![Health](https://phpackages.com/badges/djoudi-laravel-duration/health.svg)](https://phpackages.com/packages/djoudi-laravel-duration)
```

###  Alternatives

[inspiredminds/contao-file-usage

Contao extension that allows you to search for references of files in the database assisted file manager.

1212.7k10](/packages/inspiredminds-contao-file-usage)[salmanzafar/laravel-geocode

A Laravel Library to find Lat and Long of a given Specific Address

153.9k](/packages/salmanzafar-laravel-geocode)[thedmsgroup/mautic-segment-extras-bundle

Extends Mautic Lead Bundle's Lead List (Segment) functionality.

151.4k](/packages/thedmsgroup-mautic-segment-extras-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
