PHP code example of wakjoko / lara-http
1. Go to this page and download the library: Download wakjoko/lara-http 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/ */
wakjoko / lara-http example snippets
namespace App\Http\Clients;
use Wakjoko\LaraHttp\Support\Facades\Http;
class Httpbin
{
public function test($method, $endpoint)
{
return Http::send($method, $endpoint);
}
}