cmixin/enhanced-period
Enhanced Period extends CarbonPeriod with a richer API for working with date and time ranges in PHP. It adds methods for checking containment and overlap, intersecting, merging, splitting, filtering, mapping, and formatting periods, making complex interval logic simpler and more expressive.
Carbon\CarbonPeriod and Spatie\Period\Period. The mixin approach extends Carbon globally, which creates hidden coupling and should be isolated behind an internal conversion service rather than used directly across the codebase. Release 1.2.1 does not change this shape.PeriodConverter or equivalent service. Replace existing manual glue code in one bounded context first. Avoid scattering mixin calls throughout controllers, jobs, and domain services. Pin to ^1.2.1 (or the specific patched version) so the PHP 8.2 fix is guaranteed present.^1.2.1 in a development branch with focused tests on PHP 8.2+. 3) Wrap it in an internal adapter. 4) Pilot in a non-critical path such as reporting or scheduling. 5) Monitor for semantic mismatches and confirm the maintainer continues releasing. 6) Decide whether to keep, fork, or replace with a small internal converter. Maintain a fallback path because a single patch release does not establish a maintenance track record.How can I help you explore Laravel packages today?