php-http/httplug-bundle
Symfony integration for HTTPlug
2.3.1
22M downloads/mo
#1497 most downloaded on Packagist
php-http/HttplugBundle
What this package is like to depend on
Last release 4 months ago
25 Apr 2026
Release timing varies
gaps range from 2 weeks to 13 months
Some releases are documented
notes for 32 of 62 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
62 releases · first in 2016
3 releases in the last 12 months
see the full history below
Release timeline
62 releases · Jan 2016 to Apr 2026Releases
latest 60 of 62-
2.3.125 Apr 2026 -
2.3.005 Jan 2026 -
2.2.011 Dec 2025 -
2.1.024 Nov 2024 -
2.0.016 Sep 2024Release notes
Open source →- Increased min PHP version to 8.1
- Removed the deprecated
httplug_markuptwig filter. Use@Httplug/http_message.html.twigtemplate instead. - Removed deprecated configuration options:
toolbar: Useprofilinginstead.respect_cache_headers: Userespect_response_cache_directivesinstead.
- Removed the deprecated
Http\HttplugBundle\ClientFactory\PluginClientFactory. UseHttp\Client\Common\PluginClientFactoryinstead. - Fixed a deprecation when creating a
HttpMethodsClientviahttp_methods_client: true. Only PSR-17 factories are now passed as constructor arguments. - Changed the default stream factory argument for the cache plugin. This now requires a PSR-17 StreamFactoryInterface instance.
- Creating a client using the
BuzzFactoryno longer acceptsverify_peerandverify_hostconfig options. Only a booleanverifyflag is accepted, covering both previous options. - Removed support of deprecated PHP-HTTP factories, only PSR-17 factories are now supported and used.
- Removed
message_factory,uri_factory, andstream_factoryclasses config option. You can configure your own factories viapsr17_*_factoryclasses config - Removed support for guzzle5-adapter
- Removed support for Symfony versions <5.4
- Changed the return type of
ClientFactoryto return aClientInterfaceinstead ofClientInterface|HttpClient - Changed the type of
httplug.client.defaulttoClientInterfaceinstead ofHttpClient - Removed the
DummyClientinterface - Removed the
Http\Client\HttpClientalias use thePsr\Http\Client\ClientInterfacetypehint in your services for autowiring. - Changed classes marked as
@finalto be actuallyfinal. If you extended any of those, instead implement interfaces or decorate the class rather than extending it. Open an issue if you think a class needs to be made non-final to discuss what we should do. - Added return type declaration to
Http\HttplugBundle\ClientFactory\ClientFactory::createClient - Added interface name alias for the
Http\Mock\Clientand all PSR17 factories to help with autowiring.
Release notes
Open source →- Increased min PHP version to 8.1
- Removed the deprecated
httplug_markuptwig filter. Use@Httplug/http_message.html.twigtemplate instead. - Removed deprecated configuration options:
toolbar: Useprofilinginstead.respect_cache_headers: Userespect_response_cache_directivesinstead.
- Removed the deprecated
Http\HttplugBundle\ClientFactory\PluginClientFactory. UseHttp\Client\Common\PluginClientFactoryinstead. - Fixed a deprecation when creating a
HttpMethodsClientviahttp_methods_client: true. Only PSR-17 factories are now passed as constructor arguments. - Changed the default stream factory argument for the cache plugin. This now requires a PSR-17 StreamFactoryInterface instance.
- Creating a client using the
BuzzFactoryno longer acceptsverify_peerandverify_hostconfig options. Only a booleanverifyflag is accepted, covering both previous options. - Removed support of deprecated PHP-HTTP factories, only PSR-17 factories are now supported and used.
- Removed
message_factory,uri_factory, andstream_factoryclasses config option. You can configure your own factories viapsr17_*_factoryclasses config - Removed support for guzzle5-adapter
- Removed support for Symfony versions <5.4
- Changed the return type of
ClientFactoryto return aClientInterfaceinstead ofClientInterface|HttpClient - Changed the type of
httplug.client.defaulttoClientInterfaceinstead ofHttpClient - Removed the
DummyClientinterface - Removed the
Http\Client\HttpClientalias use thePsr\Http\Client\ClientInterfacetypehint in your services for autowiring. - Changed classes marked as
@finalto be actuallyfinal. If you extended any of those, instead implement interfaces or decorate the class rather than extending it. Open an issue if you think a class needs to be made non-final to discuss what we should do. - Added return type declaration to
Http\HttplugBundle\ClientFactory\ClientFactory::createClient - Added interface name alias for the
Http\Mock\Clientand all PSR17 factories to help with autowiring.
-
1.34.301 Sep 2024Release notes
Open source →same as 1.34.2 but tagged on the 1.x branch
- More cleanup of the rate-limiter configuration. The service name is the full service name of the rate limiter, e.g.
limiter.my_namewhen configuringframework.rate_limiter.my_name.
Release notes
Open source →- Same as 1.34.2 but tagged on the 1.x banch instead of the feature branch.
- More cleanup of the rate-limiter configuration. The service name is the full service name of the rate limiter, e.g.
-
1.34.201 Sep 2024Release notes
Open source →- More cleanup of the rate-limiter configuration. The service name is the full service name of the rate limiter, e.g.
limiter.my_namewhen configuringframework.rate_limiter.my_name.
Release notes
Open source →- More cleanup of the rate-limiter configuration. The service name is the full service name of the rate limiter, e.g.
limiter.my_namewhen configuringframework.rate_limiter.my_name.
- More cleanup of the rate-limiter configuration. The service name is the full service name of the rate limiter, e.g.
-
1.34.101 Sep 2024 -
1.34.017 Jun 2024 -
1.33.127 May 2024Release notes
Open source →- Fixed extension to depend on the DependencyInjection component rather than the HttpKernel.
Release notes
Open source →- Fixed extension to depend on the DependencyInjection component rather than the HttpKernel.
-
1.33.027 Feb 2024Release notes
Open source →- Support php-http/cache-plugin 2.0 and bump minimal version to 1.7 by defaulting the stream factory for cache to
httplug.psr17_stream_factory(#448).
- Support php-http/cache-plugin 2.0 and bump minimal version to 1.7 by defaulting the stream factory for cache to
-
1.32.006 Dec 2023 -
1.31.006 Nov 2023 -
1.30.107 Sep 2023 -
1.30.031 Aug 2023Release notes
Open source →- Adjusted phpdoc on ClientFactory to reflect that it usually returns a PSR ClientInterface.
-
1.29.101 Jun 2023 -
1.29.017 May 2023Release notes
Open source →- Support PSR-18 ClientInterface in MockFactory.
- Removed support for php-http/httplug 1.
-
1.28.012 May 2023Release notes
Open source →- Added: Configure the seekable body plugins.
- Added: PHP 8.2 support.
- Added: Allow installation with PSR-7
psr/http-message2.x. - Added: alias to autowire
Psr\Http\Client\ClientInterfaceservice (#425). - Deprecated
Http\Client\HttpClientin favor ofPsr\Http\Client\ClientInterface(#425).
-
1.27.103 Mar 2023Release notes
Open source →- Added
: voidtoCollector::resetto avoid PHP warning. - If
captured_body_lengthis set to 0 (default value), show a special message rather than the generic messageThis message has no captured body. - Fixed: Add slash in profiler if there is none between host and path.
- Added
-
1.27.025 Jul 2022 -
1.26.201 Jun 2022Release notes
Open source →- Fixed: You can now configure the cache plugin option
cache_lifetimetonull(which makes the plugin not add to the maxAge).
- Fixed: You can now configure the cache plugin option
-
1.26.129 Apr 2022Release notes
Open source →- Fixed: Setting the cache plugin option
respect_response_cache_directivestonullmakes the plugin use the default set of directives instead of triggering an error.
- Fixed: Setting the cache plugin option
-
1.26.017 Mar 2022 -
1.25.026 Nov 2021Release notes
Open source →- Added PHP 8.1 support
- Added Symfony 6 support
- Removed Symfony 3.x support
-
1.24.023 Oct 2021Release notes
Open source →- Changed stopwatch category from default to "httplug", so it's more prominent on Execution timeline view
- Changed tab texts inside profiler so that it shows ports in URL in case it's non-standard
- Changed default logging plugin monolog channel from "app" to "httplug"
- Fixed compatibility with Twig 3.x
-
1.23.113 Oct 2021Release notes
Open source →- Fixed issue with whitespaces in URL when URL in tab was copied
- Fixed dark mode compatiblity, making some previously invisible elements visible
-
1.23.030 Aug 2021Release notes
Open source →- Changed the way request/response body is displayed in profiler. symfony/var-dumper is used now.
- Changed badge counter of # of requests on side menu to be always visible
-
1.22.126 Jul 2021Release notes
Open source →- Do not deprecate the service alias for the old Http\Client\HttpClient interface because different Symfony versions expect a different syntax for the deprecation, which triggers an error on some Symfony versions.
-
1.22.026 Jul 2021Release notes
Open source →- Register client as alias for the PSR Psr\Http\Client\ClientInterface
- Deprecate relying on the Http\Client\HttpClient interface in favor of the PSR ClientInterface
-
1.21.010 Jul 2021 -
1.20.112 Feb 2021 -
1.20.023 Dec 2020Release notes
Open source →- Support PHP 8, dropped support for PHP 7.2.
1.19.0 - 2020-10-21
Changed
ConfiguredClientsStrategyno longer implementsEventSubscriberInterface, this has been moved toConfiguredClientsStrategyListenerto avoid initializing the strategy on every request.
1.18.0 - 2020-03-30
Added
- Support the symfony/http-client
- Register PSR-17 / PSR-18 classes as services
- Allow to configure cache listeners on the cache plugin
Changed
- Tests are excluded from zip releases
- Define plugin service templates as abstract to avoid warnings from Symfony
1.17.0 - 2019-12-27
Added
- Support Symfony 5 and Twig 3.
- Configured clients are now tagged with
'httplug.client' - Adds a link to profiler page when response is from a Symfony application with profiler enabled
- Adding
blacklisted_pathsoption ofphp-http/cache-plugin
Changed
- Fixed error handling. Now TypeErrors and other \Throwable are correctly handled by ProfileClient
- Use tabular design in profiler for HTTP request/response headers
Deprecated
httplug.collector.twig.http_messageservicehttplug_markupTwig function
1.16.0 - 2019-06-05
Changed
- Dropped support for PHP < 7.1
- Dropped support for Symfony versions that do not receive bugfixes
Added
- Integration for VCR Plugin
Fixed
- Fix compatibility with curl-client
2.*. TheCurlFactorynow builds the client using PSR-17 factories. Marked a conflict for curl-client1.*.
1.15.2 - 2019-04-18
Fixed
- Fix to pass only allowed options to the
ContentTypePlugin.
1.15.1 - 2019-04-12
Fixed
- Fix undefined
$serviceIdwhen a client is named "default".
1.15.0 - 2019-03-29
Added
- Autowiring support for FlexibleClient, HttpMethodsClientInterface and BatchClientInterface if they are enabled on the default/first client. (Only available with Httplug 2)
- Configuration for the
content_typeplugin - Support for namespaced Twig classes.
- Configuration option
default_client_autowiringthat you can set to false to prevent autowiring the HttpClient and HttpAsyncClient
Changed
- Moved source code to
src/and tests totests/ - Removed
twig/twigdependency - Removed hard dependency on
php-http/cache-plugin. If you want to use the cache plugin, you need to require it in your project. - Allow to set
httpplug.profiling.captured_body_lengthconfiguration tonullto avoid body limitation size.
Fixed
- MockFactory now accepts any client, e.g. a mock client decorated with the
plugin client for the development panel, so that configuring a mock client
actually works. The MockFactory is now
final. - Width of the HTTPlug icon in Profiler Toolbar.
RequestExceptionInterfaceformatting (getResponse()is not called anymore).
1.14.0
Added
- Support for any PSR-18 client.
Changed
- Allow version 2 of
php-http/client-common
Fixed
- Fix deprecated notice when using symfony/config > 4.2
- Profiler does not display stack when client name contains dots
1.13.1 - 2018-11-28
Fixed
- Fix wrong duration calculation for asynchronous calls
1.13.0 - 2018-11-13
Added
- Allow to configure the
QueryDefaultsPlugin
1.12.0 - 2018-10-25
Added
- Add configuration option to allow making client services public if needed
1.11.0 - 2018-07-07
Added
- Add support for QueryParam in the AuthenticationPlugin
Fixed
- Deprecation warnings on Symfony 4.1
1.10.0 - 2018-03-27
Added
- Allow to configure the
AddPathPluginper client, under theadd_pathconfiguration key. - Allow to configure clients with a
serviceinstead of a factory.
1.9.0 - 2018-03-06
Added
- Allow to configure the
BaseUriPluginper client, under thebase_uriconfiguration key.
1.8.1 - 2017-12-06
Fixed
PluginClientFactoryname conflict with PHP 5.x.
1.8.0 - 2017-11-30
Added
- Symfony 4 support.
- Support autowiring of
Http\Client\Common\PluginClientFactory. - Any third party library using
Http\Client\Common\PluginClientFactoryto createHttp\Client\Common\PluginClientinstances now gets zero config profiling. Http\HttplugBundle\Collector\Collector::reset()
Changed
ProfilePluginandStackPluginare no longer registered as (private) services decorators. Those decorators are now created through theHttp\HttplugBundle\Collector\PluginClientFactory.
Deprecated
- The
Http\HttplugBundle\ClientFactory\PluginClientFactoryclass.
Fixed
- Removed wrapping auto discovered clients in a
PluginClient, prevent double profiling. - Added missing service reference for
CachePlugin'scache_key_generatorconfiguration option so that the option now actually works.
1.7.1 - 2017-08-04
Fixed
- Display of the profiler panel when used in a symfony/flex project.
1.7.0 - 2017-07-25
Added
- Add
Http\Message\MessageFactory,Http\Message\StreamFactory,Http\Message\UriFactoryandHttp\Client\HttpAsyncClientservices aliases for autowiring in Symfony 3.3. - Redirect requests are now displayed as nested.
Changed
- Plugins are now displayed with their FQCN instead of service id.
Deprecated
- The
DummyClientinterface.
1.6.0 - 2017-05-22
Added
- Made the "factory" configuration key optional.
Changed
- We do collect profiler data after the request is processed by a plugin. With this change we
will for example see the changes of
HeaderAppendPluginat that plugin instead of the next one.
1.5.0 - 2017-05-05
Added
- The real request method and target url are now displayed in the profiler.
- Support the cache plugin configuration for
respect_response_cache_directives. - Extended WebProfilerToolbar item to list request with details.
- You can now copy any request as cURL command in the profiler.
- Support for autowring in Symfony 3.3
- Improved configuration validation
Changed
- The profiler design has been updated.
- Removed stopwatch-plugin in favor of
ProfileClient.
Deprecated
- The configuration option
cache.config.respect_cache_headersshould no longer be used. Usecache.config.respect_response_cache_directivesinstead.
1.4.1 - 2017-02-23
Fixed
- Make sure we always have a stack
1.4.0 - 2017-02-21
Changed
- The profiler collector has been rewritten to use objects instead of arrays.
- Bumped minimum Symfony version to 2.8.
- Updated profiler badges to match Symfony 2.8+ profiler design.
Fixed
- WebProfiler is no longer broken when there was a redirect.
- Dummy client should provide methods of HttpClient and HttpAsyncClient
1.3.0 - 2016-08-16
Added
- You can now also configure client specific plugins in the
pluginsoption of a client. - Some plugins that you previously had to define in your own services can now be configured on the client.
- Support for BatchClient
- The stopwatch plugin included by default when using profiling.
Changed
- All clients are registered with the PluginClient (even in production)
- Improved debug tool registration
Deprecated
autovalue intoolbar.enabledconfigtoolbarconfig, useprofilinginstead
Fixed
- Decoder, Redirect and Retry plugins can now be used and no longer trigger an error because of incorrect constructor arguments.
1.2.2 - 2016-07-19
Fixed
- Do not register debug tools when debugging is disabled (eg. in prod mode)
1.2.1 - 2016-07-19
Fixed
- Auto discovery by using the appropriate discovery class
1.2.0 - 2016-07-18
Added
- Support for cRUL constant names in configuration
- Flexible and HTTP Methods client support
- Discovery strategy to discover configured clients and/or add profiling
Changed
- Improved collector to include plugin stack in profile data
1.1.1 - 2016-06-30
Changed
- Removed Puli logic and require
php-http/discovery:0.9which makes Puli optional.
1.1.0 - 2016-05-19
Added
- Client factories for Buzz.
Changed
- Guzzle 6 client is now created according to the Httplug specifications with automated minimal behaviour. Make sure you configure the Httplug plugins as needed, for example if you want to get exceptions for failure HTTP status codes.
- [BC] PluginClientFactory returns an instance of
Http\Client\Common\PluginClient(see php-http/client-common#14) - Plugins are loaded from their new packages
Fixed
- Puli autoload issue on >=PHP 5.6, see puli/issues#190
1.0.0 - 2016-03-04
Added
- New configuration for authentication plugin. You may now specify the authentication credentials directly in the bundle's configuration. This will break previous authentication configuration.
- Client factories for Curl, React and Socket.
Fixed
- Bug with circular reference when a client was named 'default'
Removed
- Dependency on
php-http/discovery. You must now installpuli/symfony-bundleto use auto discovery.
0.2.0 - 2016-02-23
0.1.0 - 2016-01-11
-
1.19.021 Oct 2020Nothing published for this version
-
1.18.030 Mar 2020Nothing published for this version
-
1.17.027 Dec 2019Nothing published for this version
-
1.16.005 Jun 2019Nothing published for this version
-
1.15.218 Apr 2019Nothing published for this version
-
1.15.112 Apr 2019Nothing published for this version
-
1.15.029 Mar 2019Nothing published for this version
-
1.14.003 Jan 2019Nothing published for this version
-
1.13.128 Nov 2018Nothing published for this version
-
1.13.013 Nov 2018Nothing published for this version
-
1.12.026 Oct 2018Nothing published for this version
-
1.11.007 Jul 2018Nothing published for this version
-
1.10.027 Mar 2018Nothing published for this version
-
1.9.006 Mar 2018Nothing published for this version
-
1.8.106 Dec 2017Nothing published for this version
-
1.8.030 Nov 2017Nothing published for this version
-
v1.7.105 Aug 2017Nothing published for this version
-
v1.7.025 Jul 2017Nothing published for this version
-
v1.6.022 May 2017Nothing published for this version
-
v1.5.012 May 2017Nothing published for this version
-
v1.4.123 Feb 2017Nothing published for this version
-
v1.4.021 Feb 2017Nothing published for this version
-
v1.3.016 Aug 2016Nothing published for this version
-
v1.2.219 Jul 2016Nothing published for this version
-
v1.2.119 Jul 2016Nothing published for this version
-
v1.2.018 Jul 2016Nothing published for this version
-
v1.1.019 May 2016Nothing published for this version
-
v1.0.003 Mar 2016Nothing published for this version