Back to Developer Roadmap

Route Parameters

src/data/roadmaps/laravel/content/route-parameters@6TkDx8eXb9nMU_OE3ArhJ.md

4.0915 B
Original Source

Route Parameters

Route parameters allow you to capture segments of the URI within your route definitions. These captured segments can then be passed as arguments to your route's controller or closure, enabling you to create dynamic routes that respond to different data. You define parameters by enclosing them in curly braces, such as {id}, within the route URI.

Visit the following resources to learn more: