giftcards / encryption-bundle
Bundle to integrate the giftcards/encryption lib into symfony
Installs: 5 565
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 1
Open Issues: 1
Requires
- php: >=7.1
- giftcards/encryption: ^1.8
- symfony/symfony: ^3.4
Requires (Dev)
- php: >=7.3
- doctrine/dbal: ~2.1
- fzaninotto/faker: ^1.8
- mockery/mockery: ^1.2
- omni/testing-bundle: ^1.32
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2024-12-11 03:05:45 UTC
README
Bundle to integrate the encryption lib into symfony
default configuration
# Default configuration for extension with alias: "giftcards_encryption"ftcards_encryption --ansi giftcards_encryption: cipher_texts: rotators: # Prototype name: type: ~ # Required options: [] serializers: type: ~ # Required options: [] priority: 0 deserializers: type: ~ # Required options: [] priority: 0 profiles: # Prototype name: cipher: ~ # Required key_name: ~ # Required keys: sources: type: ~ # Required options: [] prefix: '' add_circular_guard: false cache: false map: # Prototype name: ~ fallbacks: # Prototype name: [] combine: # Prototype name: left: ~ # Required right: ~ # Required default_profile: null doctrine: encrypted_properties: enabled: true connections: # Default: - default
Doctrine
you can configure the the connections to assign the encrypted properties listener by setting the doctrine.encrypted_properties.connections
with an
array of the names of the connections you configured in the doctrine configs that you want the encrypted properties feature to be available for.
if you are not using doctrine set doctrine.encrypted_properties.enabled
to false.