PHP code example of publishing-kit / http-proxy
1. Go to this page and download the library: Download publishing-kit/http-proxy 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/ */
publishing-kit / http-proxy example snippets
php
$app = new App();
$client = new PublishingKit\HttpProxy\Client($app);
$proxy = new PublishingKit\HttpProxy\Proxy($client, $cache, $streamFactory);
$response = $proxy->handle($request);