1. Go to this page and download the library: Download sobhanlori/steganography 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/ */
sobhanlori / steganography example snippets
use Sobhanlori\Steganography\Steganography;
$steganography = new Steganography();
$steganography
->conceal('example.png', 'This is hidden text!')
->save('example-secret.png');
use Sobhanlori\Steganography\Steganography;
$steganography = new Steganography();
$steganography
->conceal('example.png', 'This is hidden text!')
->download('example-secret.png');
use Sobhanlori\Steganography\Steganography;
$steganography = new Steganography();
$data = $steganography->reveal('example-secret.png');
echo $data;