PHP code example of lee / php-travis-encrypter
1. Go to this page and download the library: Download lee/php-travis-encrypter 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/ */
lee / php-travis-encrypter example snippets
use Travis\Encrypter\Client;
use Travis\Encrypter\Encrypter;
$client = new Client('peter279k/php-travis-encrypter');
$result = $client->get();
$key = $result->getKey();
$encrypter = new Encrypter($key, 'name', 'value');
echo $encrypter->encrypt();
composer