luzrain/doctrine-json-unescaped-type

Preventing json Doctrine type to escape unicode characters.

Maintainers

Package info

github.com/luzrain/doctrine-json-unescaped-type

pkg:composer/luzrain/doctrine-json-unescaped-type

Statistics

Installs: 7 631

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is auto-updated.

Last update: 2026-03-01 00:34:17 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