khill/php-duration
A PHP library for parsing and formatting durations. Turn strings like "1h 30m" or "2 days" into seconds, and convert seconds back into readable, human-friendly duration strings, with support for localization.
HH:MM:SS or human-readable strings only at the edges. This package can support that normalization in Laravel/PHP services and admin tools.How can I help you explore Laravel packages today?