This package is abandoned and no longer maintained. The author suggests using the phpstan/phpstan package instead.

Guzzle extensions for PHPStan

0.7 2017-05-08 11:48 UTC

This package is not auto-updated.

Last update: 2019-02-20 19:10:38 UTC


This extension is deprecated, because since PHPStan 0.8 @method annotations are read including method parameters, making this extension obsolete. Guzzle HTTP client can now be used without any special extension.

This extension provides following feature:

  • Adds missing magics method (get, post, ... and the asynchronous ones) on GuzzleHttp\Client with correct return types


To use this extension, require it in Composer:

composer require --dev phpstan/phpstan-guzzle

And include extension.neon in your project's PHPStan config:

	- vendor/phpstan/phpstan-guzzle/extension.neon