PHP code example of pxgamer / decrypt-et

1. Go to this page and download the library: Download pxgamer/decrypt-et 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/ */

    

pxgamer / decrypt-et example snippets


use pxgamer\DecryptET\Decrypt;

$Decrypt = new Decrypt();

// Fetch the page content from ET (alternatively you can set the HTML manually using $this->__set('full_page', $value)
$Decrypt->fetch();

// Populate the JSON class with the values from the JSON in Decrypt->full_page
$Decrypt->populate();

// Decrypt the content
$Decrypt->decrypt();

// Output the decrypted content
echo $Decrypt->__get('decrypted');