PHPackages                             ywh/doctrine-encryption-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. ywh/doctrine-encryption-bundle

ActiveSymfony-bundle[Security](/categories/security)

ywh/doctrine-encryption-bundle
==============================

Integration of the ywh/doctrine-encryption-extension with Symfony2

1.0(8y ago)24.5k1MITPHPPHP &gt;=5.5.9

Since Jan 13Pushed 1y ago2 watchersCompare

[ Source](https://github.com/yeswehack/DoctrineEncryptionBundle)[ Packagist](https://packagist.org/packages/ywh/doctrine-encryption-bundle)[ RSS](/packages/ywh-doctrine-encryption-bundle/feed)WikiDiscussions develop Synced 2w ago

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

YWHDoctrineEncryptionBundle
===========================

[](#ywhdoctrineencryptionbundle)

This bundle provides integration for [DoctrineEncryptaionExtension](https://github.com/yeswehack/DoctrineEncryptionExtension) in your Symfony2 Project.

License: [MIT](LICENSE)

Installation
============

[](#installation)

Step 1: Download the Bundle
---------------------------

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
    $ composer require ywh/doctrine-encryption-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

2: Enable the Bundle
--------------------

[](#2-enable-the-bundle)

> When using Flex, this step is handled automatically.

Then, enable the bundle by adding the following line in the `app/AppKernel.php`file of your project:

```
    // app/AppKernel.php

    class AppKernel extends Kernel
    {
        public function registerBundles()
        {
            $bundles = array(
                // ...

                new YWH\DoctrineEncryptionBundle\YWHDoctrineEncryptionBundle(),
            );

            // ...
        }

        // ...
    }
```

3: Configure the bundle
-----------------------

[](#3-configure-the-bundle)

```
# app/config/config.yml
ywh_doctrine_encryption:
    orm: ['default']
    password: password
    key: ... # defuse_key
```

To generate the key, use the `generate-defuse-key` script located in vendor/bin/generate-defuse-key

```
$ vendor/bin/generate-defuse-key
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3089d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16663829?v=4)[Yes We Hack](/maintainers/yeswehack)[@yeswehack](https://github.com/yeswehack)

---

Top Contributors

[![picoss](https://avatars.githubusercontent.com/u/4903613?v=4)](https://github.com/picoss "picoss (9 commits)")

---

Tags

symfonyencryptionbehaviorsdoctrine2extensionDefuseywhyeswehack

### Embed Badge

![Health badge](/badges/ywh-doctrine-encryption-bundle/health.svg)

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

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[web-auth/webauthn-symfony-bundle

FIDO2/Webauthn Security Bundle For Symfony

65474.5k9](/packages/web-auth-webauthn-symfony-bundle)[ecotone/symfony-bundle

Ecotone for Symfony — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Symfony Messenger, via PHP attributes.

11241.1k1](/packages/ecotone-symfony-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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