max13/conditional-period (packagist): ConditionalPeriod is a php class allowing to store 2 numerical/DateInterval intervals resulting in a DateInterval.
Keywords: period|dateinterval|conditional|carboninterval|conditional-statements|php