Doctrine Support ################ .. highlight:: php |Packagist| |GitLab| |GitHub| |Bitbucket| |Gitea| Doctrine support is split into a separate package. Installation ============ .. code-block:: bash composer require 'arokettu/uuid-doctrine' Available Types =============== * ``UuidType``. UUID stored in native GUID if available or CHAR(36), same as GUID type in Doctrine. * ``UuidBinaryType``. UUID stored in BINARY(16). * ``UlidType``. ULID stored in CHAR(26). * ``UlidBinaryType``. ULID stored in BINARY(16). Available Generators ==================== * ``UuidV4Generator``. UUIDv4 generator. * ``UuidV7Generator``. UUIDv7 generator. Uses a monotonic sequence internally. * ``UlidGenerator``. ULID generator. Uses a monotonic sequence internally. Usage ===== Register types::