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

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

51systems/doctrine-encrypt
==========================

Package encrypts and decrypts Doctrine fields through life cycle events.

v6.0.0(9y ago)1122.7k95MITPHPPHP ^7.0

Since Nov 14Pushed 9y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (3)Versions (11)Used By (5)

DoctrineEncrypt [![Build Status](https://camo.githubusercontent.com/08998c33615efda27b47c71b32d1e247651b349b150e4d3c50596f59f78f4877/68747470733a2f2f7472617669732d63692e6f72672f353173797374656d732f646f637472696e652d656e63727970742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/51systems/doctrine-encrypt)
=============================================================================================================================================================================================================================================================================================================================

[](#doctrineencrypt-)

Package encrypts and decrypts Doctrine fields through life cycle events. This version of the Doctrine Encrypt package distinguishes itself with the following features:

- Superior Annotation parsing &amp; caching using Doctrine's built in libraries for superior performance
- Totally transparent field encryption: the value will only be encrypted in the database, never in the value
- Unit testing

Integrations
------------

[](#integrations)

The package supports the following integrations:

- Laravel

Upgrading
---------

[](#upgrading)

If you're upgrading from a previous version you can find some help with that in [the upgrading guide](UPGRADING.md).

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

[](#installation)

```
composer require 51systems/doctrine-encrypt
```

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

[](#configuration)

### Laravel

[](#laravel)

Add the subscriber in the `boot` method of a service provider.

```
