Laravel Route Grouping: Simple to Very Complex
How to organize your Laravel routes if there are dozens of them? In this video, I will show you the tips of grouping.
We found 15 results for "routing".
How to organize your Laravel routes if there are dozens of them? In this video, I will show you the tips of grouping.
Quite often in the Controllers, you don't have to use findOrFail() by ID field from the URL, instead, you may use Route Model Binding. In this video, I will show you how.
Some more complex route structure - tips and tricks that you may not know.
Multilanguage projects are quite easy to configure in Laravel, but if you want to have locale as part of URL, like /en/about, then you will have trouble with Auth::routes(), they won't work by default like /en/register. This article will show you what to do.
Have you ever encountered an issue where it says: GET Method is not supported for this route? This is mainly caused by using incorrect methods when submitting a form or inaccurate redirects. Let's take a look at examples and how to fix them.
Quite often you have a need to check current URL or route and show/hide some element and do some action. Here I will show several ways to do it.
Start of a mini-series, reviewing the code of open-source project by Tighten called "Built with Laravel". In this video, we're talking about Routes and Controllers.
With static pages example, I'm showing a few "tricks" on how to structure routes.
A quick example of refactoring the Controller and Route Groups with Middleware.
How do you separate the designs and the routes for administrator users and "front" users of your system?
Five practical examples on how to detect if the link should be active.
I want to show you a feature called Nested Resource Controllers, and also how to use it with Route Model Binding correctly.
If you need to add some where condition to the Route Model Binding, it's not that easy. Let's explore the alternatives.
When using Route Model Binding in Laravel, it's important to have the same name of the parameter in the routes file and in the method variable name.