tebru / doctrine-encryption-bundle
Adds an encryption type for Doctrine entities
Package info
github.com/tebru/doctrine-encryption-bundle
pkg:composer/tebru/doctrine-encryption-bundle
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: 2026-02-24 14:25:20 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")