elcweb/doctrine-encrypt-bundle
最新稳定版本:v0.2.0
Composer 安装命令:
composer require elcweb/doctrine-encrypt-bundle
包简介
Package encrypts and decrypts Doctrine fields through life cycle events.
README 文档
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
统计信息
- 总下载量: 647
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-11-03