tebru / doctrine-encryption-bundle
Adds an encryption type for Doctrine entities
Installs: 172
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/tebru/doctrine-encryption-bundle
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: 2025-09-24 13:34:26 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")