ahora is a simple PHP library which provides a way to easily sum up a series of time intervals and output the elapsed time in days, hours, minutes, and/or seconds.
The library also allows you to specify custom time units to suit your needs - want to calculate the number of weeks? Or change the number of hours in a day to calculate business days? Easy.
More information is available via Packagist
> composer require savvywombat/ahora