guzzlehttp/command
Provides the foundation for building command-based web service clients
2.0.0
12M downloads/mo
#1851 most downloaded on Packagist
guzzle/command
What this package is like to depend on
Last release 1 months ago
20 Jul 2026
Release timing varies
gaps range from 8 days to 1.3 years
Most releases are documented
notes for 16 of 25 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
25 releases · first in 2014
6 releases in the last 12 months
see the full history below
Release timeline
25 releases · Mar 2014 to Jul 2026Releases
latest 25-
2.0.020 Jul 2026Release notes
Open source →- Drop support for PHP 7.2 and 7.3
- Require
guzzlehttp/guzzle^8.0,guzzlehttp/promises^3.0, andguzzlehttp/psr7^3.0 - Escape unsafe command names and previous messages in generated command exceptions
- Reject native PHP serialization of
ServiceClient - Require custom implementations and subclasses of public command APIs to match native method signatures
- Require service client response transformers to return
ResultInterfacevalues - Require command collections to be iterable and reject single commands in
executeAll()andexecuteAllAsync() - Require custom middleware, transformers, and
executeAll()callbacks to accept exact argument types instead of relying on scalar coercion - Redact credential-bearing command and HTTP arguments from PHP 8.2+ backtraces
- Preserve requests from PSR-18 request and network exceptions and from Guzzle transfer exceptions when wrapping command failures
- Allow command exception constructors to accept any previous
Throwable - Add generic PHPDoc return types to asynchronous service client APIs
- Improve PHPDoc for command handler stacks, transformer callables, and concurrent command callbacks
Release notes
Open source →- Drop support for PHP 7.2 and 7.3
- Require
guzzlehttp/guzzle^8.0,guzzlehttp/promises^3.0, andguzzlehttp/psr7^3.0 - Escape unsafe command names and previous messages in generated command exceptions
- Reject native PHP serialization of
ServiceClient - Require custom implementations and subclasses of public command APIs to match native method signatures
- Require service client response transformers to return
ResultInterfacevalues - Require command collections to be iterable and reject single commands in
executeAll()andexecuteAllAsync() - Require custom middleware, transformers, and
executeAll()callbacks to accept exact argument types instead of relying on scalar coercion - Redact credential-bearing command and HTTP arguments from PHP 8.2+ backtraces
- Preserve requests from PSR-18 request and network exceptions and from Guzzle transfer exceptions when wrapping command failures
- Allow command exception constructors to accept any previous
Throwable - Add generic PHPDoc return types to asynchronous service client APIs
- Improve PHPDoc for command handler stacks, transformer callables, and concurrent command callbacks
-
1.5.317 Jul 2026 -
1.5.208 Jul 2026Release notes
Open source →- Require
guzzlehttp/guzzle^7.13.3,guzzlehttp/promises^2.5.1, andguzzlehttp/psr7^2.12.4
Release notes
Open source →- Require
guzzlehttp/guzzle^7.13.3,guzzlehttp/promises^2.5.1, andguzzlehttp/psr7^2.12.4
- Require
-
1.5.123 Jun 2026 -
1.5.002 Jun 2026Release notes
Open source →- Require
guzzlehttp/guzzle^7.11,guzzlehttp/promises^2.5, andguzzlehttp/psr7^2.11 - Deprecate non-iterable command collections
Release notes
Open source →- Require
guzzlehttp/guzzle^7.11,guzzlehttp/promises^2.5, andguzzlehttp/psr7^2.11 - Deprecate non-iterable command collections
- Require
-
1.4.018 May 2026Release notes
Open source →- Add PHP 8.5 support
- Require
guzzlehttp/guzzle^7.10,guzzlehttp/promises^2.3, andguzzlehttp/psr7^2.8 - Remove stale
createPoolreferences fromServiceClientInterfacedocumentation
Release notes
Open source →- Add PHP 8.5 support
- Require
guzzlehttp/guzzle^7.10,guzzlehttp/promises^2.3, andguzzlehttp/psr7^2.8 - Remove stale
createPoolreferences fromServiceClientInterfacedocumentation
-
1.3.204 Feb 2025 -
1.3.103 Dec 2023 -
1.3.021 May 2023Release notes
Open source →- Add support for
guzzlehttp/promises2.x - Replace deprecated promise helper calls
Release notes
Open source →- Add support for
guzzlehttp/promises2.x - Replace deprecated promise helper calls
- Add support for
-
1.2.318 Apr 2023 -
1.2.208 Feb 2022Release notes
Open source →- Fix PHP 8.1 return type deprecation notices
- Bump minimum Guzzle dependency versions
-
1.2.105 Sep 2021 -
1.2.014 Aug 2021Release notes
Open source →- Add PHP 8.0 support
- Update dependency constraints for Guzzle 7.3
- Add support for PSR-7 2.x
-
1.1.028 Sep 2020 -
1.0.024 Nov 2016Release notes
Open source →- Add badges to README.md
- Switch README from .rst to .md format
- Update dependencies
- Add command to handler call to provide support for GuzzleServices
-
0.9.031 Jan 2016Release notes
Open source →- Updated to use Guzzle 6 and PSR-7.
- Event system has been replaced with a middleware system
- Middleware at the command layer work the same as middleware from the
HTTP layer, but work with
CommandandResultobjects instead ofRequestandResponseobjects - The command middleware is in a separate
HandlerStackinstance than the HTTP middleware.
- Middleware at the command layer work the same as middleware from the
HTTP layer, but work with
Resultobjects are the result of executing aCommandand are used to hold the parsed response data.- Asynchronous code now uses the
guzzlehttp/promisespackage instead ofguzzlehttp/ringphp, which means that asynchronous results are implemented as Promises/A+ compliantPromiseobjects, instead of futures. - The existing
Subscribers were removed. - The
ServiceClientInterfaceandServiceClientclass now provide the basic foundation of a web service client.
-
0.8.002 Feb 2015Nothing published for this version
-
0.7.114 Jan 2015Nothing published for this version
-
0.7.013 Oct 2014Nothing published for this version
-
0.6.008 Aug 2014Nothing published for this version
-
0.5.001 Aug 2014Nothing published for this version
-
0.4.030 Apr 2014Nothing published for this version
-
0.3.003 Apr 2014Nothing published for this version
-
0.2.030 Mar 2014Nothing published for this version
-
0.1.016 Mar 2014Nothing published for this version