1. Go to this page and download the library: Download jenky/transmit 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/ */
jenky / transmit example snippets
use Illuminate\Http\Client\Request;
use Illuminate\Support\Facades\Http;
Http::fake();
Http::client('my_client')->get('foo');
Http::client('my_client')->assertSent(function (Request $request) {
//
});
Http::client('my_client')->assertNotSent(function (Request $request) {
//
});