PHPackages                             studio201/doctrine-encrypt-bundle - 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. studio201/doctrine-encrypt-bundle

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

studio201/doctrine-encrypt-bundle
=================================

Encrypted symfony entity's by verified and standardized libraries

v5.0.10(3y ago)013.5k↓33.3%MITPHPPHP &gt;=7.1

Since Nov 14Pushed 1y ago2 watchersCompare

[ Source](https://github.com/studio201/DoctrineEncryptBundle)[ Packagist](https://packagist.org/packages/studio201/doctrine-encrypt-bundle)[ RSS](/packages/studio201-doctrine-encrypt-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (40)Used By (0)

michaeldegroot/DoctrineEncryptBundle
====================================

[](#michaeldegrootdoctrineencryptbundle)

This is an fork from the original bundle created by ambta which can be found here: [ambta/DoctrineEncryptBundle](https://github.com/ambta/DoctrineEncryptBundle)

This bundle has updated security by not rolling it's own encryption and using verified standardized library's from the field.

ambta/DoctrineEncryptBundle is **not** secured, It uses old crypto functions and programming mistakes like supplying a IV in ECB mode (which does nothing)

### Using [Halite](https://github.com/paragonie/halite)

[](#using-halite)

*All deps are already installed with this package*

```
// Config.yml
studio201_doctrine_encrypt:
    encryptor_class: Halite
```

### Using [Defuse](https://github.com/defuse/php-encryption)

[](#using-defuse)

*You will need to require Defuse yourself*

`composer require "defuse/php-encryption ^2.0"`

```
// Config.yml
studio201_doctrine_encrypt:
    encryptor_class: Defuse
```

### Secret key

[](#secret-key)

Secret key is generated if there is no key found. This is automatically generated and stored in the folder defined in the configuration

```
// Config.yml
studio201_doctrine_encrypt:
    secret_directory_path: '%kernel.project_dir%'   # Default value
```

Filename example: `.DefuseEncryptor.key` or `.HaliteEncryptor.key`

**Do not forget to add these files to your .gitignore file, you do not want this on your repository!**

### Documentation

[](#documentation)

- [Installation](Resources/doc/installation.md)
- [Requirements](Resources/doc/installation.md#requirements)
- [Configuration](Resources/doc/configuration.md)
- [Usage](Resources/doc/usage.md)
- [Console commands](Resources/doc/commands.md)
- [Custom encryption class](Resources/doc/custom_encryptor.md)

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~125 days

Recently: every ~198 days

Total

36

Last Release

554d ago

Major Versions

2.5.4 → 3.0.12017-05-14

3.0.3 → 4.0.02018-01-18

4.0.2.x-dev → v5.0.12019-11-14

v5.0.10 → 6.0.x-dev2023-09-28

6.0.x-dev → 7.0.x-dev2024-11-10

PHP version history (5 changes)1.0.0PHP &gt;=5.3.2

2.4.1PHP &gt;=5.4

4.0.0PHP &gt;=7.0

4.0.2.x-devPHP &gt;=5.6

v5.0.2PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/45072603?v=4)[studio.201 software GmbH](/maintainers/studio201)[@studio201](https://github.com/studio201)

---

Top Contributors

[![tkrahmer](https://avatars.githubusercontent.com/u/208354?v=4)](https://github.com/tkrahmer "tkrahmer (50 commits)")[![absolute-quantum](https://avatars.githubusercontent.com/u/1427870?v=4)](https://github.com/absolute-quantum "absolute-quantum (39 commits)")[![dev-marcel](https://avatars.githubusercontent.com/u/11071510?v=4)](https://github.com/dev-marcel "dev-marcel (33 commits)")[![vmelnik-ukraine](https://avatars.githubusercontent.com/u/1994051?v=4)](https://github.com/vmelnik-ukraine "vmelnik-ukraine (23 commits)")[![andheiberg](https://avatars.githubusercontent.com/u/820962?v=4)](https://github.com/andheiberg "andheiberg (7 commits)")[![michaelfeinbier](https://avatars.githubusercontent.com/u/503543?v=4)](https://github.com/michaelfeinbier "michaelfeinbier (6 commits)")[![Zombaya](https://avatars.githubusercontent.com/u/13340313?v=4)](https://github.com/Zombaya "Zombaya (5 commits)")[![encreinformatique](https://avatars.githubusercontent.com/u/22235605?v=4)](https://github.com/encreinformatique "encreinformatique (4 commits)")[![ambta](https://avatars.githubusercontent.com/u/10357868?v=4)](https://github.com/ambta "ambta (4 commits)")[![benr77](https://avatars.githubusercontent.com/u/2156742?v=4)](https://github.com/benr77 "benr77 (3 commits)")[![mkraemer](https://avatars.githubusercontent.com/u/1070200?v=4)](https://github.com/mkraemer "mkraemer (2 commits)")[![maks-rafalko](https://avatars.githubusercontent.com/u/3725595?v=4)](https://github.com/maks-rafalko "maks-rafalko (2 commits)")[![Valegar](https://avatars.githubusercontent.com/u/658117?v=4)](https://github.com/Valegar "Valegar (1 commits)")[![BboyKeen](https://avatars.githubusercontent.com/u/1192309?v=4)](https://github.com/BboyKeen "BboyKeen (1 commits)")[![wassafr](https://avatars.githubusercontent.com/u/10235180?v=4)](https://github.com/wassafr "wassafr (1 commits)")[![wcoppens](https://avatars.githubusercontent.com/u/181460?v=4)](https://github.com/wcoppens "wcoppens (1 commits)")[![westinpigott](https://avatars.githubusercontent.com/u/1909859?v=4)](https://github.com/westinpigott "westinpigott (1 commits)")[![studio201](https://avatars.githubusercontent.com/u/45072603?v=4)](https://github.com/studio201 "studio201 (1 commits)")[![jr-k](https://avatars.githubusercontent.com/u/3283866?v=4)](https://github.com/jr-k "jr-k (1 commits)")[![paragonie-scott](https://avatars.githubusercontent.com/u/11591518?v=4)](https://github.com/paragonie-scott "paragonie-scott (1 commits)")

---

Tags

symfonydoctrineencryptdecryptDefusehalite

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/studio201-doctrine-encrypt-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/studio201-doctrine-encrypt-bundle/health.svg)](https://phpackages.com/packages/studio201-doctrine-encrypt-bundle)
```

###  Alternatives

[michaeldegroot/doctrine-encrypt-bundle

Encrypted symfony entity's by verified and standardized libraries

1521.0M1](/packages/michaeldegroot-doctrine-encrypt-bundle)[doctrineencryptbundle/doctrine-encrypt-bundle

Encrypted symfony entity's by verified and standardized libraries

29415.1k](/packages/doctrineencryptbundle-doctrine-encrypt-bundle)[ambta/doctrine-encrypt-bundle

Symfony 2 bundle which allows to encrypt data in database with some encrypt algorithm

77275.7k](/packages/ambta-doctrine-encrypt-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
