ambta/DoctrineEncryptBundle

I cant even install the bundle.

didslm opened this issue · 0 comments

Im using php 7.4
Symfony 4.4.*

framework.yaml

framework:
  secret: '%env(APP_SECRET)%'

When i run composer require
composer require ambta/doctrine-encrypt-bundle

Using version ^2.5 for ambta/doctrine-encrypt-bundle
./composer.json has been updated
Running composer update ambta/doctrine-encrypt-bundle
> pre-update-cmd: Symfony\Flex\Flex_composer_tmp1->configureInstaller
Loading composer repositories with package information
> pre-pool-create: Symfony\Flex\Flex_composer_tmp1->truncatePackages
Updating dependencies
Dependency resolution completed in 0.001 seconds
Analyzed 259 packages to resolve dependencies
Analyzed 649 rules to resolve dependencies
Dependency resolution completed in 0.001 seconds
Lock file operations: 1 install, 0 updates, 0 removals
Installs: ambta/doctrine-encrypt-bundle:2.5.6
  - Locking ambta/doctrine-encrypt-bundle (2.5.6)
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
> post-autoload-dump: PackageVersions\Installer_composer_tmp0->dumpVersionsClass
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
> post-autoload-dump: Symfony\Flex\Flex_composer_tmp1->updateAutoloadFile
98 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> post-update-cmd: Symfony\Flex\Flex_composer_tmp1->update

Run composer recipes at any time to see the status of your Symfony recipes.

> post-update-cmd: @auto-scripts
> auto-scripts: Symfony\Flex\Flex_composer_tmp1->executeAutoScripts
Executing script cache:clear
Executed script cache:clear  [KO]
 [KO]
Script cache:clear returned with error code 1
!!
!!  In DoctrineEncryptExtension.php line 46:
!!
!!    You must provide "secret_key" for DoctrineEncryptBundle or "secret" for fra
!!    mework
!!
!!
!!
Script @auto-scripts was called via post-update-cmd

Installation failed, reverting ./composer.json and ./composer.lock to their original content.