PHP code example of xcy7e / php-toolbox
1. Go to this page and download the library: Download xcy7e/php-toolbox 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/ */
xcy7e / php-toolbox example snippets
// use Xcy7e\PhpToolbox\Library\ConversionTool;
echo "8M equals so many bytes: " . ConversionTool::parseShorthandToBytes('8M');
$encrypted = \Xcy7e\PhpToolbox\Library\CryptoTool::encrypt('sensitiveData', 'myPassword');
bash
composer bash
git clone https://github.com/xcy7e/php-toolbox.git