nfntynl/doctrine-encrypt-module
Composer 安装命令:
composer require nfntynl/doctrine-encrypt-module
包简介
Fork of 51systems/doctrine-encrypt-module to support doctrine module ^1.2
README 文档
README
Package adds Doctrine Module support to doctrine-encrypt module
Installation
Add nfntynl/doctrine-encrypt-module to your composer manifest.
{ "require": { "nfntynl/doctrine-encrypt-module": "^1.2.0" } }
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
统计信息
- 总下载量: 3.59k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-25