carbonphp/carbon-doctrine-types
Doctrine DBAL type mappings for Carbon, extracted from Carbon into a standalone package so each DBAL version can be supported cleanly. Adds date, datetime, and time types for using Carbon in Doctrine entities.
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?