Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Routing Laravel Package

nette/routing

Nette Routing is a standalone two-way router for PHP that maps SEO-friendly URLs to presenter/action pairs and back. It supports route masks, parameters, localization, and is used by the Nette Framework.

View on GitHub
Deep Wiki
Context7
v3.1.4
  • Double quotes in URL path segments are now percent-encoded as RFC 3986 requires. Previously an unencoded " in a generated URL could break out of an HTML attribute in output contexts that are not HTML-escaped.
  • Host wildcards (%tld%, %domain%, %sld%) no longer mangle IP addresses: IPv6 hosts like [::1] and the address 0.0.0.0 were mistakenly split on dots as if they were domain names. Routes with host masks now work correctly when the site is accessed via an IP address.
v3.1.3

A code quality release that tightens static analysis and cleans up internals.

  • Fixed all PHPStan errors and improved phpDoc annotations
  • Switched to singleline declare statements across the codebase
v3.1.2
  • support for PHP 8.5
  • optimized global function calls
v3.1.1
  • support for PHP 8.4
  • Route::param2path() allows all characters defined by RFC 3986 #14
v3.1.0
  • requires PHP 8.1
  • uses PHP 8.1 features
v3.0.5
  • RouteList: match() split into prepareRequest() and completeParameters()
  • RouteList::withPath() trailing slash is optional #11
v3.0.4
  • composer: allows nette/utils & http 4.0
  • cs
v3.0.3
  • SimpleRouter: fix compatibility with non-stringable (e.g. Closure) default parameter values (#9)
  • RouteList: added getDomain() & getPath()
  • Route: ignores multiple /// #6
  • Route: refactoring
  • constants are PascalCase
v3.0.2
  • added RouteList::getFlags()
v3.0.1
  • compatible with PHP 8.0
  • utilization of function inlining
  • added .phpstorm.meta.php

For the details you can have a look at the diff.

v3.0.0

nette/routing was taken out nette/application

Changes

  • Router::match(Nette\Http\IRequest $httpRequest): ?array
  • Router::constructUrl(array $params, Nette\Http\UrlScript $refUrl): ?string
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums