herrera-io/date-interval
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).
Provides additional functionality to the DateInterval class.
How can I help you explore Laravel packages today?