PHPackages                             precision-soft/symfony-doctrine-encrypt - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. precision-soft/symfony-doctrine-encrypt

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

precision-soft/symfony-doctrine-encrypt
=======================================

Symfony bundle providing transparent AES-256 encryption for Doctrine ORM entity fields via custom DBAL types

v4.4.0(2w ago)02.3kMITPHPPHP &gt;=8.2

Since Sep 17Pushed 2w agoCompare

[ Source](https://github.com/precision-soft/symfony-doctrine-encrypt)[ Packagist](https://packagist.org/packages/precision-soft/symfony-doctrine-encrypt)[ Docs](https://github.com/precision-soft/symfony-doctrine-encrypt)[ RSS](/packages/precision-soft-symfony-doctrine-encrypt/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (32)Versions (21)Used By (0)

Symfony Doctrine Encrypt Bundle
===============================

[](#symfony-doctrine-encrypt-bundle)

[![PHP >= 8.2](https://camo.githubusercontent.com/8f0af9c5395ae4ef8ba7a7ad65fa61c44927ea9c3eb3be91a13c678254f29bd4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e322d383839324246)](https://www.php.net/)[![PHPStan Level 8](https://camo.githubusercontent.com/44dc5f71fec76653887c975fe3db546a82ff603d094798eb6414a38369db1f44/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068707374616e2d6c6576656c253230382d627269676874677265656e)](https://phpstan.org/)[![Code Style PER-CS2.0](https://camo.githubusercontent.com/5cbab3b5c635536159b4d0a5ef49ebc70fcc20757f82d5f83bc251d872914301/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64652532307374796c652d5045522d2d4353322e302d626c7565)](https://www.php-fig.org/per/coding-style/)[![License MIT](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](LICENSE)

Symfony bundle for transparent AES-256 field-level encryption of Doctrine ORM entity fields via custom Doctrine types.

**You may fork and modify it as you wish. Contributions are welcomed.**

Requirements
------------

[](#requirements)

- PHP 8.2+ with `ext-openssl`
- Doctrine ORM 3.\*
- Doctrine DBAL 4.\*
- Symfony 7.\*

Installation
------------

[](#installation)

```
composer require precision-soft/symfony-doctrine-encrypt
```

Register the bundle in `config/bundles.php`:

```
