tebru / doctrine-encryption-bundle
Adds an encryption type for Doctrine entities
v0.2.0
2015-07-18 00:08 UTC
Requires
- php: >=5.4
- doctrine/doctrine-bundle: ~1.4
- symfony/symfony: ~2.3
- tebru/aes-encryption: ^0.3.0
This package is auto-updated.
Last update: 2024-11-24 11:38:23 UTC
README
Utilizes tebru/aes-encryption and adds a Doctrine type that automatically encrypts and decrypts values in the database.
Installation
composer require tebru/doctrine-encryption-bundle
Add to AppKernel
new Tebru\DoctrineEncryptionBundle\DoctrineEncryptionBundle(),
Usage
Set the column annotation type to encrypted
on your entity property
@ORM\Column(type="encrypted")