Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.15 KB

File metadata and controls

38 lines (24 loc) · 1.15 KB

Installation

  1. Download DoctrineEncryptBundle using composer
  2. Enable the database encryption bundle
  3. Configure the database encryption bundle

Requirements

Step 1: Download DoctrineEncryptBundle using composer

DoctrineEncryptBundle should be installed using Composer:

php composer.phar require "doctrineencryptbundle/doctrine-encrypt-bundle:^6.0"

Composer will install the bundle to your project's vendor/doctrineencryptbundle directory.

Step 2: Enable the bundle

Enable the bundle manually, if not using Symfony flex, in Symfony by adding it in your config/bundles.php file's return statement:

Ambta\DoctrineEncryptBundle\AmbtaDoctrineEncryptBundle::class => ['all' => true]

Step 3: Set your configuration

All configuration value's are optional. On the following page you can find the configuration information.