remyb98 / doctrine-field-encrypt
Package that provides an #[Encrypt] attribute to automatically encrypt and decrypt fields in Doctrine entities.
Package info
github.com/Remyb98/doctrine-field-encrypt
Type:symfony-bundle
pkg:composer/remyb98/doctrine-field-encrypt
Requires
- php: >=8.4
- doctrine/orm: ^3.3
- symfony/config: ^6.4
- symfony/dependency-injection: ^6.4
- symfony/http-kernel: ^6.4
Requires (Dev)
- phpunit/phpunit: ^12.0
This package is auto-updated.
Last update: 2026-03-05 11:03:53 UTC
README
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
composer require remyb98/doctrine-field-encrypt
Applications that don't use Symfony Flex
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
composer require remyb98/doctrine-field-encrypt
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php file of your project:
// config/bundles.php return [ // ... Remyb98\DoctrineFieldEncrypt\DoctrineFieldEncryptBundle::class => ['all' => true], ];