Download the PHP package nepda/doctrine-encrypt-module without Composer
On this page you can find all versions of the php package nepda/doctrine-encrypt-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nepda/doctrine-encrypt-module
More information about nepda/doctrine-encrypt-module
Files in nepda/doctrine-encrypt-module
Package doctrine-encrypt-module
Short Description ZF2 Module for Doctrine2 field encryption
License MIT
Homepage https://github.com/nepda/doctrine-encrypt-module
Informations about the package doctrine-encrypt-module
Doctrine Encrypt Module
Package adds Doctrine Module support to doctrine-encrypt module
Installation
Add nepda/doctrine-encrypt-module
to your composer manifest.
Configuration
Copy the file config/doctrine-encrypt-module.local.php.dist
to your config/autoload/
directory
and rename it to config/doctrine-encrypt-module.local.php
.
Generate a encryption key and a salt and put it into your new local config file.
Optional
If you want to change the encryption algorithm or the annotation reader copy
doctrine-encrypt-module.global.php.dist
out of the config/ directory, rename it to doctrine-encrypt-module.global.php
and place it in your application config folder.
Modify the adapter anonymous to return the desired class to use for encryption. The returned class must either be a Zend\Crypt\BlockCipher
or implement DoctrineEncrypt\Encryptors\EncryptorInterface
. References to other service locator keys
or FQN's are also acceptable.
Usage
All versions of doctrine-encrypt-module with dependencies
nepda/doctrine-encrypt-module Version ^7.0.1
php Version >=7.1
zendframework/zend-crypt Version ~2.5|~3.0