The bundle permits to encrypt separate columns of database via Doctrine column types.
Call command line script to install:
composer require aeliot/doctrine-encrypted-bundle
See whole documentation here.
Encrypted data has different size to origin. So, the bundle expects some options of database tables to get for more stable result:
- charset: utf8mb4
- collation: utf8mb4_unicode_ci