#Installation
- Download VMelnikDoctrineEncryptBundle using composer
- Enable the Bundle
Add VMelnikDoctrineEncryptBundle in your composer.json:
{
"require": {
"vmelnik/doctrine-encrypt-bundle": "dev-master"
}
}
Now tell composer to download the bundle by running the command:
$ php composer.phar update vmelnik/doctrine-encrypt-bundle
Composer will install the bundle to your project's vendor/vmelnik
directory.
Enable the bundle in the kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new VMelnik\DoctrineEncryptBundle\VMelnikDoctrineEncryptBundle(),
);
}