Skip to content

dmt-software/laravel-guzzle-psr7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Guzzle PSR 7

Enable Guzzle to act as provider for PSR-7 compliant ServerRequestInterface instances in Laravel.

Installation

composer require dmt-software/laravel-guzzle-psr7

The service provider maybe automatically registered by auto-discovery. To register it manually add is to _config/app.php:

'providers' => [
    DMT\Laravel\Providers\GuzzlePsrServiceProvider::class,
    // ...
];

Usage

use Psr\Http\Message\ServerRequestInterface;
 
Route::get('/', function (ServerRequestInterface $request) {
    // 
});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages