{
"require": {
"51systems/doctrine-encrypt" : "*",
"elcweb/doctrine-encrypt-bundle" : "dev-master"
}
}
Now tell composer to download the bundle by running the command:
$ php composer.phar update 51systems/doctrine-encrypt
$ php composer.phar update elcweb/doctrine-encrypt-bundle
Enable the bundle in the kernel:
<?php
// config/bundles.php
return [
// ...
Elcweb\DoctrineEncryptBundle\ElcwebDoctrineEncryptBundle::class => ['all' => true],
];
# config/packages/doctrine_encryption.yaml
elcweb_doctrine_encrypt:
secret_key: SOME_STRING
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE