coisa / doctrine-dbal-types
Extra types for Doctrine DBAL
0.1.2
2018-03-22 03:12 UTC
Requires
- php: >=5.6
Requires (Dev)
- doctrine/dbal: ^2.6
This package is auto-updated.
Last update: 2024-12-12 11:51:26 UTC
README
Provides extra Doctrine DBAL types
Installation
composer require coisa/doctrine-dbal-types
Using
# Add type to DBAL collection before doing any interaction with your entity manager
\Doctrine\DBAL\Types\Type::addType(
\Coisa\Doctrine\DBAL\Type\PasswordType::NAME,
\Coisa\Doctrine\DBAL\Type\PasswordType::class
);