luzrain/doctrine-json-unescaped-type

Preventing json Doctrine type to escape unicode characters.

v1.0.0 2021-02-01 09:07 UTC

This package is auto-updated.

Last update: 2024-05-29 04:55:49 UTC


README

By default json Doctrine types escape unicode characters before storing strings in the database.
JsonUnescapedType override default JsonType to prevent this.

Symfony integration

# config/packages/doctrine.yaml
doctrine:
    dbal:
        types:
            json: Luzrain\DoctrineJsonUnescapedType\JsonUnescapedType