Skip to content

v3.1.0

Choose a tag to compare

@SoloPHP SoloPHP released this 11 Mar 21:55
· 4 commits to main since this release

match() now returns the route name.

The result array includes a new name key (string|null):

$match = $router->match('GET', '/users/123');
$match['name']; // 'users.show' or null

No breaking changes.