Download the PHP package jfnetwork/doctrine-encrypted-object without Composer
On this page you can find all versions of the php package jfnetwork/doctrine-encrypted-object. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jfnetwork/doctrine-encrypted-object
More information about jfnetwork/doctrine-encrypted-object
Files in jfnetwork/doctrine-encrypted-object
Package doctrine-encrypted-object
Short Description Doctrine mapping type to store encrypted objects
License MIT
Informations about the package doctrine-encrypted-object
Doctrine Encrypted Object Mapping
This bundle implement a doctrine mapping type for objects, that should be encrypted in storage.
Install
The bundle can be installed with composer:
For Sodium or Openssl encryption are corresponding PHP extensions required. For Defuse
is defuse/php-encryption package required
Sample Configuration
you should provide two environment variables:
The DOCTRINE_ENCRYPTED_OBJECT_ENCRYPTION_WAY
variable is optional and has value sodium
by default.
The DOCTRINE_ENCRYPTED_OBJECT_KEY
variable should be generated with the command:
where encryption way is one of sodium
, openssl
, defuse
Usage
Annotations
Attributes
Upgrade from 2.0 to 3.0
You should set DOCTRINE_ENCRYPTED_OBJECT_ENCRYPTION_WAY
environment variable to defuse
. No other configuration is required. Some migration tool to other encryption ways will be provided later.
All versions of doctrine-encrypted-object with dependencies
doctrine/orm Version ^2.5
symfony/console Version 5.*|6.*|7.*
symfony/config Version 5.*|6.*|7.*
symfony/http-kernel Version 5.*|6.*|7.*
symfony/service-contracts Version *
symfony/dependency-injection Version 5.*|6.*|7.*