CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 05:52:35 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"7d0c97de6b21eeacbd0b895a8fdd62ce"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=YhGqn70Ci0YbFcZ9PDCC9my9NzCyczj3RlCTiNUc1jE0DqOkS18MYQAyxykvKf05HMHIXFlkSmH%2Bng2%2F9VVklxrf2xJH%2BJYKMCsWOGriS8NufLO99hI0YZtanWGo4l63DfFN%2Blzcra1myaEqDaUWQlow9iGrwlM9VAacnkkBkeDBXqc3xGAv9gPL1RQrwhr1yb8zwfNaohSGbqO97kC%2FQwtl9F%2FVXYGLtSIDAERgLEAY1MsTmYmdg0RXlat0mNRW4p%2BOvfTCV9ieOrPJJijwPw%3D%3D--UxoXNgYtozpMh3ah--RifznPBrdZW7TZ7tPDlJiQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.134124424.1753249955; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 05:52:35 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 05:52:35 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BA52:1C6D98:47F803:5EAA12:688078A3
Releases · thephpleague/route · GitHub
25 Nov 08:12
Loading
20 Nov 10:03
Loading
10 Nov 12:09
Loading
30 Jul 08:34
Loading
26 Jul 06:48
Loading
09 Jul 09:37
Loading
26 Mar 11:28
Loading
25 Jan 13:58
Loading
25 Jun 12:17
Loading
18 May 07:14
Loading
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 127
Releases: thephpleague/route
Releases · thephpleague/route
6.2.0
Compare
[6.2.0] 2024-11
Changed
- Replaced opis/closure with laravel/serializable-closure and implemented throughout the handler process rather than a blanket serialisation of the router.
Assets 2
6.1.0
Compare
[6.1.0] 2024-11
Fixed
- Fixed a bug introduced in 6.0.0 where an array based callable with a string class name would not be considered valid.
- Added some doc comments for clarity on array types. (@marekskopal)
Changed
- Updated
psr/http-message
to^2.0.0
.
Assets 2
6.0.0
Compare
[6.0.0]
Note: While this is a major release, there are no breaking changes to the public API. The major version bump is due to the removal of support for PHP 8.0 and below.
This being said, there are some internal changes that may affect you if you have extended the library in any way. Please test thoroughly before upgrading.
Added
- Added full support for PHP 8.1 to 8.4.
- Ability to use a PSR-15 middleware as a controller.
- Ability to pass an array of HTTP methods to
Router::map
to create a route that matches multiple methods.- This method still accepts a string so is not a breaking change.
- Ability to add a custom key to a caching router.
Changed
- Fixes and improvements throughout for PHP 8.1 to 8.4.
Removed
- Removed support for PHP < 8.1.
Assets 2
5.1.2
Compare
Added
- Extra logic for
Route::gretPath
to be able to properly resolve optional parameters.
Assets 2
2 people reacted
5.1.1
Compare
Fix
- Fix to allow multiple routes with the same path to be mapped across multiple extra conditions (scheme, host, port).
Assets 2
5.1.0
Compare
Added
- Support for named routes within groups (@Fredrik82)
Assets 2
1 person reacted
5.0.1
Compare
Added
- Support for
psr/container:2.0
Assets 2
5.0.0
Compare
[5.0.0] 2021-01
Added
- A cached router, a way to have a fully built router cached and resolved from cache on subsequent requests.
- Response decorators, a way to manipulate a response object returned from a matched route.
- Automatic generation of OPTIONS routes if they have not been defined.
Changed
- Minimum PHP requirement bumped to 7.2.
Router
no longer extends FastRouteRouteCollecter
.Router
constructor no longer accepts optional FastRouteRouteParser
andDataGenerator
.Router
constructor now accepts an optional FastRouteRouteCollector
.- Routes already registered with FastRoute
RouteCollector
are respected and matched.
- Routes already registered with FastRoute
- Separated route preparation from dispatch process so that the router can dispatch multiple times.
- General code improvements.
Removed
- Setting of default response headers on strategies. (Replaced by response decorators, see Added).
- Exception handlers from strategies. (Already deprecated in favour of throwable handlers).
Assets 2
4.5.0
Compare
[4.5.0] 2020-05
Added
- Ability to pass optional
$replacements
array toRoute::getPath
in order to build literal route path strings.
Assets 2
4.4.0
Compare
[4.4.0] 2020-05
Added
- Ability to pass JSON flags to JsonStrategy. (@pine3ree)
- Router is now a RequestHandlerInterface so can be used as a middleware itself. (@delboy1978uk)
- Route params now added as Request attributes. (@delboy1978uk)
Fixed
- Exception moved to more appropriate place when shifting no middleware. (@delboy1978uk)
- Ensure group prefix is always added when adding a parent group. (@delboy1978uk)
Assets 2
Previous Next
You can’t perform that action at this time.