PHP code example of tlwl / http-client
1. Go to this page and download the library: Download tlwl/http-client 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/ */
tlwl / http-client example snippets
// laravel < 5.5
Tlwl\HttpClient\HttpClientServiceProvider::class
// lumen
$app->register(Tlwl\HttpClient\HttpClientServiceProvider::class);
'HttpClient'=>Tianwolf\HttpClient\Facades\HttpClient::class,
Shell
$ php artisan vendor:publish --provider="Tlwl\HttpClient\HttpClientServiceProvider"