coisa/doctrine-dbal-types

Extra types for Doctrine DBAL

0.1.2 2018-03-22 03:12 UTC

This package is auto-updated.

Last update: 2024-12-12 11:51:26 UTC


README

FOSSA Status

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
);

License

FOSSA Status