carbonphp/carbon-doctrine-types
Doctrine DBAL types to seamlessly persist and hydrate Carbon\Carbon and Carbon\CarbonImmutable instances. Adds custom date/time types for Carbon, improving timezone/precision handling and integration with Doctrine entities and migrations.
Types to use Carbon in Doctrine
Check how to use in the official Carbon documentation
This package is an externalization of src/Carbon/Doctrine
from nestbot/carbon package.
Externalization allows to better deal with different versions of dbal. With version 4.0 of dbal, it no longer sustainable to be compatible with all version using a single code.
How can I help you explore Laravel packages today?