NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #26 most downloaded on Packagist
Defines an object-oriented layer for the HTTP specification
Latest stable
v8.1.11
Last release 7 days ago
12 Nov 2026
Release timing varies
gaps range from 8 days to 2 months
Rarely documented
notes for 9 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
785 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
bug #46249 Regenerate invalid session id (peter17)
Changelog (https://github.com/symfony/http-foundation/compare/v5.4.8...v5.4.9)
Changelog (https://github.com/symfony/http-foundation/compare/v5.4.7...v5.4.8) * no significant changes
Changelog (https://github.com/symfony/http-foundation/compare/v5.4.7...v5.4.8)
bug #45631 Fix PHP 8.1 deprecation in Response::isNotModified (HypeMC)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Changelog (https://github.com/symfony/http-foundation/compare/v5.4.5...v5.4.6)
Response::isNotModified (HypeMC)bug #45495 Fix missing ReturnTypeWillChange attributes (luxemate)
Changelog (https://github.com/symfony/http-foundation/compare/v5.4.4...v5.4.5)
Changelog (https://github.com/symfony/http-foundation/compare/v5.4.2...v5.4.3) * no significant changes
Changelog (https://github.com/symfony/http-foundation/compare/v5.4.2...v5.4.3)
bug #44759 Fix notice when HTTP_PHP_AUTH_USER passed without pass (Vitali Tsyrkin)
Changelog (https://github.com/symfony/http-foundation/compare/v5.4.1...v5.4.2)
bug #44502 do not call preg_match() on null (xabbuh)
Changelog (https://github.com/symfony/http-foundation/compare/v5.4.0...v5.4.1)
Changelog (https://github.com/symfony/http-foundation/compare/v5.4.0-RC1...v5.4.0) * no significant changes
Changelog (https://github.com/symfony/http-foundation/compare/v5.4.0-RC1...v5.4.0)
null as $requestIp to IpUtils::__checkIp(), IpUtils::__checkIp4() or IpUtils::__checkIp6(), pass an empty string instead.litespeed_finish_request method to work with Litespeedupload_progress.* and url_rewriter.tags session optionsChangelog (https://github.com/symfony/http-foundation/compare/v5.4.0-BETA3...v5.4.0-RC1) * no significant changes
Changelog (https://github.com/symfony/http-foundation/compare/v5.4.0-BETA3...v5.4.0-RC1)
feature #43411 Deprecate passing null as $requestIp in IpUtils (W0rma)
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.10...v5.4.0-BETA1)
multipart/form-data as form Content-Type (keichinger)@experimental flag (nicolas-grekas)litespeed_finish_request to Response (thomas2411)SessionFactoryInterface (kbond)Changelog (https://github.com/symfony/http-foundation/compare/v5.3.13...v5.3.14) * no significant changes
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.13...v5.3.14)
bug #44759 Fix notice when HTTP_PHP_AUTH_USER passed without pass (Vitali Tsyrkin)
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.12...v5.3.13)
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.10...v5.3.11) * no significant changes
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.10...v5.3.11)
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.9...v5.3.10) * no significant changes
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.9...v5.3.10)
bug #42753 Cast ini_get to an integer to match expected type (natewiebe13)
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.6...v5.3.7)
bug #42289 Fixed type mismatch (Toflar)
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.5...v5.3.6)
bug #42112 fix FileBag under PHP 8.1 (alexpott)
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.3...v5.3.4)
bug #41670 allow savePath of NativeFileSessionHandler to be null (simon.chrzanowski)
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.2...v5.3.3)
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.1...v5.3.2) * no significant changes
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.1...v5.3.2)
bug #41495 Add ReturnTypeWillChange to SessionHandlers (nikic)
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.0...v5.3.1)
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.0-RC1...v5.3.0) * no significant changes
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.0-RC1...v5.3.0)
SessionFactory, NativeSessionStorageFactory, PhpBridgeSessionStorageFactory and MockFileSessionStorageFactory classesRequest::getSession() when there is no available session throws a SessionNotFoundExceptionRequestStack::getSession methodNamespacedAttributeBag classResponseFormatSame PHPUnit constraintRequestStack::getMasterRequest() method and add getMainRequest() as replacementChangelog (https://github.com/symfony/http-foundation/compare/v5.3.0-BETA4...v5.3.0-RC1) * no significant changes
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.0-BETA4...v5.3.0-RC1)
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.0-BETA2...v5.3.0-BETA3) * no significant changes
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.0-BETA2...v5.3.0-BETA3)
bug #40964 Fixes for PHP 8.1 deprecations (jrmajor)
Changelog (https://github.com/symfony/http-foundation/compare/v5.3.0-BETA1...v5.3.0-BETA2)
Nothing published for this version
bug #42289 Fixed type mismatch (Toflar)
Changelog (https://github.com/symfony/http-foundation/compare/v5.2.13...v5.2.14)
bug #42112 fix FileBag under PHP 8.1 (alexpott)
Changelog (https://github.com/symfony/http-foundation/compare/v5.2.11...v5.2.12)
bug #41670 allow savePath of NativeFileSessionHandler to be null (simon.chrzanowski)
Changelog (https://github.com/symfony/http-foundation/compare/v5.2.10...v5.2.11)
Changelog (https://github.com/symfony/http-foundation/compare/v5.2.9...v5.2.10) * no significant changes
Changelog (https://github.com/symfony/http-foundation/compare/v5.2.9...v5.2.10)
Changelog (https://github.com/symfony/http-foundation/compare/v5.2.7...v5.2.8) * no significant changes
Changelog (https://github.com/symfony/http-foundation/compare/v5.2.7...v5.2.8)
bug #40964 Fixes for PHP 8.1 deprecations (jrmajor)
Changelog (https://github.com/symfony/http-foundation/compare/v5.2.6...v5.2.7)
_controller is a closure (Plopix)bug #40231 Configure session.cookie_secure earlier (tamcy)
Changelog (https://github.com/symfony/http-foundation/compare/v5.2.3...v5.2.4)
session.cookie_secure earlier (tamcy)REQUEST_TIME_FLOAT when constructing a Request object (ctasada)Changelog (https://github.com/symfony/http-foundation/compare/v5.2.2...v5.2.3) * no changes
Changelog (https://github.com/symfony/http-foundation/compare/v5.2.2...v5.2.3)
bug #39633 Drop int return type from parseFilesize() (LukeTowers)
Changelog (https://github.com/symfony/http-foundation/compare/v5.2.1...v5.2.2)
bug #39550 keep turning dots to underscores when using Request::create() (nicolas-grekas)
Changelog (https://github.com/symfony/http-foundation/compare/v5.2.0...v5.2.1)
deprecated not passing a Closure together with FILTER_CALLBACK to ParameterBag::filter(); wrap your filter in a closure instead.
X-Forwarded-Prefix headerHeaderUtils::parseQuery(): it does the same as parse_str() but preserves dots in variable namesFile::getContent()RequestMatcher::matchIps()Request::toArray() to parse a JSON request body to an arrayRateLimiter\RequestRateLimiterInterface and RateLimiter\AbstractRequestRateLimiterClosure together with FILTER_CALLBACK to ParameterBag::filter(); wrap your filter in a closure instead.Request::HEADER_X_FORWARDED_ALL constant, use either HEADER_X_FORWARDED_FOR | HEADER_X_FORWARDED_HOST | HEADER_X_FORWARDED_PORT | HEADER_X_FORWARDED_PROTO or HEADER_X_FORWARDED_AWS_ELB or HEADER_X_FORWARDED_TRAEFIK constants instead.BinaryFileResponse::create(), use __construct() insteadNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
bug #39633 Drop int return type from parseFilesize() (LukeTowers)
Changelog (https://github.com/symfony/http-foundation/compare/v5.1.10...v5.1.11)
bug #39271 Fix TypeError: Argument 1 passed to JsonResponse::setJson() must be of the type string, object given (sidz)
Changelog (https://github.com/symfony/http-foundation/compare/v5.1.9...v5.1.10)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Deprecate Response::create(), JsonResponse::create(), RedirectResponse::create(), and StreamedResponse::create() methods (use __construct() instead)
Cookie::withValue, Cookie::withDomain, Cookie::withExpires,
Cookie::withPath, Cookie::withSecure, Cookie::withHttpOnly,
Cookie::withRaw, Cookie::withSameSiteResponse::create(), JsonResponse::create(),
RedirectResponse::create(), and StreamedResponse::create() methods (use
__construct() instead)Request::preferSafeContent() and Response::setContentSafe() to handle "safe" HTTP preference
according to RFC 8674MarshallingSessionHandler, IdentityMarshallerSession accept a callback to report when the session is being usedSymfony\Component\HttpFoundation\InputBagInputBag::get(), use InputBag::all() if you need access to the collection of valuesNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.