carbonphp / carbon-doctrine-types
Types to use Carbon in Doctrine
Fund package maintenance!
kylekatarnls
Open Collective
Tidelift
Installs: 82 924 572
Dependents: 3
Suggesters: 0
Security: 0
Stars: 134
Watchers: 1
Forks: 3
Open Issues: 2
Requires
- php: ^8.1
Requires (Dev)
- doctrine/dbal: ^4.0.0
- nesbot/carbon: ^2.71.0 || ^3.0.0
- phpunit/phpunit: ^10.3
Conflicts
- doctrine/dbal: <4.0.0 || >=5.0.0
README
Types to use Carbon in Doctrine
Documentation
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.