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

ActiveLibrary[Database &amp; ORM](/categories/database)

aviwar/doctrine-encrypt
=======================

Package encrypts and decrypts Doctrine fields through life cycle events.

1.0.0(7y ago)021MITPHPPHP &gt;=7.1

Since Feb 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/aviwar/doctrine-encrypt)[ Packagist](https://packagist.org/packages/aviwar/doctrine-encrypt)[ RSS](/packages/aviwar-doctrine-encrypt/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (2)Used By (0)

doctrine-encrypt
================

[](#doctrine-encrypt)

Package encrypts and decrypts Doctrine fields through life cycle events.

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

[](#installation)

Add `aviwar/doctrine-encrypt` to your Composer manifest by following methods.

```
{
    "require": {
        "aviwar/doctrine-encrypt": "~1.0"
    }
}
```

Configuration
-------------

[](#configuration)

Add the event subscriber to your entity manager's event manager. Assuming `$em`is your configured entity manager:

```
