Skip to content

elcweb/doctrine-encrypt-bundle

Repository files navigation

DoctrineEncryptBundle

Latest Stable Version Total Downloads

Installation

Step 1: Download using composer

{
    "require": {
        "51systems/doctrine-encrypt"         : "*",
        "elcweb/doctrine-encrypt-bundle"     : "dev-master"
    }
}

Now tell composer to download the bundle by running the command:

$ php composer.phar update 51systems/doctrine-encrypt
$ php composer.phar update elcweb/doctrine-encrypt-bundle

Step 2: Enable the bundle

Enable the bundle in the kernel:

<?php
// config/bundles.php

return [
    // ...
    Elcweb\DoctrineEncryptBundle\ElcwebDoctrineEncryptBundle::class => ['all' => true],
];

Step 3: Set secret

# config/packages/doctrine_encryption.yaml
elcweb_doctrine_encrypt:
  secret_key: SOME_STRING

License

This bundle is under the MIT license. See the complete license in the bundle:

Resources/meta/LICENSE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages