PHPackages                             amackiewicz/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. [Security](/categories/security)
4. /
5. amackiewicz/doctrine-encrypt-bundle

ActiveLibrary[Security](/categories/security)

amackiewicz/doctrine-encrypt-bundle
===================================

Encrypted symfony entity's by verified and standardized libraries. Fixed version of michaeldegroot/doctrine-encrypt-bundle

05[1 issues](https://github.com/amackiewicz/WebcitronDoctrineEncryptBundle/issues)PHP

Since Apr 9Pushed 6y ago1 watchersCompare

[ Source](https://github.com/amackiewicz/WebcitronDoctrineEncryptBundle)[ Packagist](https://packagist.org/packages/amackiewicz/doctrine-encrypt-bundle)[ RSS](/packages/amackiewicz-doctrine-encrypt-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)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
ambta_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
ambta_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
ambta_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

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf2d8999c6f6a908348eff7d523295e8771b46a6b037b879c0725000c7a43f8b?d=identicon)[webcitron](/maintainers/webcitron)

---

Top Contributors

[![amackiewicz](https://avatars.githubusercontent.com/u/7383622?v=4)](https://github.com/amackiewicz "amackiewicz (7 commits)")

### Embed Badge

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

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

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

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