PHP code example of jfnetwork / doctrine-encrypted-object

1. Go to this page and download the library: Download jfnetwork/doctrine-encrypted-object library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jfnetwork / doctrine-encrypted-object example snippets


/**
 * @ORM\Column(name="your_secure_field", type="encoded_object")
 */
private $yourSecureField;

use Jfnetwork\DoctrineEncryptedObject\DoctrineEncryptedObject;

#[ORM\Column(type: DoctrineEncryptedObject::TYPE_NAME)]
private $yourSecureField;