Download the PHP package xorgxx/doctrine-encryptor-bundle without Composer

On this page you can find all versions of the php package xorgxx/doctrine-encryptor-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package doctrine-encryptor-bundle

DoctrineEncryptorBundle { Symfony 6/7 }

This bundle provides Encrypt/Decrypt data sensible in a Db system in your application. Its main goal is to make it simple for you to manage encrypt & decrypt sensible data into Db! This bundle is to refresh the old bundle DoctrineEncryptBundle

The aim of this bundle is to establish, in an automatic and transparent manner, a robust encryption and decryption system by externalizing data, in strict compliance with European recommendations and the directives of the General Data Protection Regulation (GDPR).

PSR-12

Doctrineencryptor-schema.png

Installation RELEASE !

Install the bundle for Composer

`

Doctrine migrations

🚨 You will have to make migration to add NeoxEncryptor in your entities. 🚨 `

Install, setup, folder, .pem .key

NOTE: You may need to use [ symfony composer dump-autoload ] to reload autoload

..... Done 🎈

Config file

doctrine_encryptor.yaml file `

We recommended setting up your cache system symfony cache

More security getting key form external store

🚨 We use KnpGaufrette . In this setup, all keys are stored externally and are not accessible from within your website. This means that even if someone gains access to your code, they won't be able to access the keys, providing an additional layer of security for your encryption system. In order, you have to configure at liste one "adapter": config/gaufrette.yaml `

/** 
* ===== openSSLSym is match faster !! | ======
* openSSLAsym because is Asymetric we cant put macth data in encrypte SO it's not working well yet!!
* 🚨 Due to instability issues (after ~100 caractes), it is advisable not to use 
* the openSSLAsym encryptor for handling advanced data typing (obejt, array, ...).!!
**/

Usage !

In entity, you want to secure field (data) in Entity ``

Custom facker

This is special to manage typing and want to be shown in a database. Most of the attributes are recognized be the bundle string, int, date ...., But in some cas as PhoneNumber, [...] bundle will not recognized! So you will need to add service.

Then is Entity file add attribute [facker: PhoneFacker::class]

TWIG

To manage on template twig to decrypt field `

Important !

Consider the size / length of field you want to crypt when you chose "in" !! ex: length:20 ``

Beware !!

🚨 🚨 Danger 🚨🚨

!!! Before you change anything key, attribute "in"/"out" ... !!!

  1. Decrypt all before
  2. Change what you want ex: attribute from "in" to "out"
  3. Encrypt ALL

[CLI] Command build-in

For exemple | php bin/console neox:encryptor:switch | Process automatique will do this : ex: halite to openSSLSym

!! ??? WASAAAA ? 😉

❔Now if you encrypt or decrypt much time, it will just be crypt or decrypt much time. Data will still be manage.

Tools power

Occasionally, we may require access to a full range of data (4000 lines or more) for various checks or analyses. However, waiting for hours due to the conversion of encrypted data is not desirable. In such cases, disabling the EventListener is imperative. `

🚨🚨 FEATURE ADVANCE in the box in a future version

Contributing

If you want to contribute (thank you!) to this bundle, here are some guidelines:

Thanks


All versions of doctrine-encryptor-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-openssl Version *
doctrine/doctrine-bundle Version ^2.0|^3.0
doctrine/orm Version ^2.0|^3.0
knplabs/knp-gaufrette-bundle Version *
paragonie/halite Version ^5.1
symfony/config Version ^6.3|^7.0
symfony/console Version ^6.3|^7.0
symfony/dependency-injection Version ^6.3|^7.0
symfony/deprecation-contracts Version ^2.2|^3
symfony/framework-bundle Version ^6.3|^7.0
symfony/process Version ^6.3|^7.0
symfony/property-access Version ^6.3|^7.0
symfony/string Version ^6.3|^7.0
twig/twig Version ^2.12|^3.0
symfony/yaml Version ^6.3|^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package xorgxx/doctrine-encryptor-bundle contains the following files

Loading the files please wait ....