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 2y 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 4w 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

30

—

LowBetter than 61% of packages

Maintenance20

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

3135d 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.

12017.1k](/packages/rcsofttech-audit-trail-bundle)[ecotone/symfony-bundle

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

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

The easy like Crud'it Bundle.

1617.3k16](/packages/2lenet-crudit-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

12413.3k](/packages/ahmed-bhs-doctrine-doctor)

PHPackages © 2026

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