elcweb / doctrine-encrypt-bundle
Package encrypts and decrypts Doctrine fields through life cycle events.
Installs: 647
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.2
- ext-sodium: *
- 51systems/doctrine-encrypt: ~6.0
- doctrine/orm: ^2.5
- symfony/framework-bundle: >=4.4
This package is auto-updated.
Last update: 2024-12-08 03:49:28 UTC
README
Installation
Step 1: Download using composer
{ "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
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php // config/bundles.php return [ // ... Elcweb\DoctrineEncryptBundle\ElcwebDoctrineEncryptBundle::class => ['all' => true], ];
Step 3: Set secret
# config/packages/doctrine_encryption.yaml elcweb_doctrine_encrypt: secret_key: SOME_STRING
License
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE