1. Go to this page and download the library: Download aalfiann/reverser 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/ */
aalfiann / reverser example snippets
use aalfiann\Reverser\Handler;
://yourbackend.com:8080');
// Prevents cURL from hanging on errors
$handler->setCurlOption(CURLOPT_CONNECTTIMEOUT, 1);
$handler->setCurlOption(CURLOPT_TIMEOUT, 5);
// This ignores HTTPS certificate verification, libcurl decided not to bundle ca certs anymore.
// Alternatively, specify CURLOPT_CAINFO, or CURLOPT_CAPATH if you have access to your cert(s)
$handler->setCurlOption(CURLOPT_SSL_VERIFYPEER, false);
$handler->setCurlOption(CURLOPT_SSL_VERIFYHOST, false);
// Check for a success
if ($handler->execute()) {
//print_r($handler->getCurlInfo()); // Uncomment to see request info
} else {
echo 'Oops, something went wrong!';
}
// close handler
$handler->close();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.