PHP code example of hamburgscleanest / laravel-guzzle-throttle

1. Go to this page and download the library: Download hamburgscleanest/laravel-guzzle-throttle 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/ */

    

hamburgscleanest / laravel-guzzle-throttle example snippets

 bash
php artisan vendor:publish
 php
// returns an instance of GuzzleHttp\Client
$client = LaravelGuzzleThrottle::client(['base_uri' => 'https://www.google.com']);
 php
$client->get('/test'));