wakjoko/lara-http
Laravel Http Client
This package provides Laravel v7 Http Client for older Laravel versions up to 6.
Installation
Install the package with Composer:
composer require wakjoko/lara-http
Usage
Please refer to Laravel v7 docs for more usage examples.
<?php
namespace App\Http\Clients;
use Wakjoko\LaraHttp\Support\Facades\Http;
class Httpbin
{
public function test($method, $endpoint)
{
return Http::send($method, $endpoint);
}
}
Just make sure to replace the namespace from Laravel v7 docs
use Illuminate\Support\Facades\Http;
and replace it with the namespace provided in this package
use Wakjoko\LaraHttp\Support\Facades\Http;
Related Packages
erirk/paypalpayment
laravel-paypalpayment is simple package help you process direct credit card paym...
0
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
631,580,251
9,707