1. Go to this page and download the library: Download zeroem/curl-bundle 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/ */
use Symfony\Component\HttpFoundation\Request;
use Zeroem\CurlBundle\HttpKernel\RemoteHttpKernel;
$request = Request::create("http://www.symfony.com");
$remoteKernel = new RemoteHttpKernel();
$response = $remoteKernel->handle($request);
use Zeroem\CurlBundle\Curl\RequestGenerator;
$generator = new RequestGenerator(array(CURLOPT_RETURNTRANSFER=>true));
// Automatically has CURLOPT_RETURNTRANSFER set to true
$request = $generator->getRequest();
shell
php bin/vendors install
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.