PHPackages                             chancegarcia/php-time-elapsed - 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. chancegarcia/php-time-elapsed

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

chancegarcia/php-time-elapsed
=============================

Library for elapsed time using DateInterval. Figure out if x time has elapsed.

2.0.0(8y ago)070MITPHPPHP &gt;=7.0CI failing

Since Sep 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/chancegarcia/php-time-elapsed)[ Packagist](https://packagist.org/packages/chancegarcia/php-time-elapsed)[ RSS](/packages/chancegarcia-php-time-elapsed/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Introduction
============

[](#introduction)

This library is made to figure out elapsed time. Such as: "has 30 minutes elapsed so I can refresh this authentication token?"

Installation
============

[](#installation)

```
    composer require chancegarcia/php-time-elapsed

```

Usage
=====

[](#usage)

```
