Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 886 Bytes

configuration.md

File metadata and controls

27 lines (18 loc) · 886 Bytes

Configuration Reference

There is only 1 paramater in the configuration of the Doctrine encryption bundle. This parameter is also optional.

  • encryptor_class - Custom class for encrypting data

yaml

ambta_doctrine_encrypt:
    encryptor_class: Halite # or Defuse
    secret_directory_path: '%kernel.project_dir%'   # Path where to store the keyfiles

Important!

If you want to use Defuse, make sure to require it!

composer require "defuse/php-encryption ^2.0"

Usage

Read how to use the database encryption bundle in your project.