Top "Psr-7" questions

PSR-7 is the FIG standard for HTTP messages in PHP.

Slim 3 - how to get all get/ put/ post variables?

How I can get all get/ put/ post variables like in Slim 2 for Slim 3? Slim 2, $allGetVars = $app->request->…

slim slim-3 psr-7
How to read the response effective URL in Guzzle ~6.0

I've been searching for about 2 hours and I can't figure it out how to read the final response uri. In …

php guzzle psr-7
Call to undefined method GuzzleHttp\Psr7\Response::isSuccessful()

So I have installed the Guzzle library version 6 according to TeamUp calendar documentation. However, when I try to run the …

php response guzzle psr-7
Guzzle not sending PSR-7 POST body correctly

It is either not being sent, or not being received correctly. Using curl direct from the command line (using the …

guzzle psr-7
Object of class GuzzleHttp\Psr7\Request could not be converted to string

I've got an issue for laravel 5.4 when I trying to using guzzleHttp. here is my code. use GuzzleHttp\Client; $url = …

php laravel laravel-5.4 guzzle6 psr-7
Create a stream from a resource

I know that I can create a PHP stream from a filename (a real one, or an URL), by using …

php stream fopen psr-7 php-stream-wrappers
Slim 3 - How to add 404 Template?

In Slim 2, I can over write the default 404 page easily, // @ref: http://help.slimframework.com/discussions/problems/4400-templatespath-doesnt-change $app->…

slim slim-3 psr-7