Bitcoscript

Routing & Controllers

7 articles in this category — All Articles

Route Model Binding Explained
Routing & Controllers

Route Model Binding Explained

In this final article of our Routing & Controllers, we'll explain how route model binding works, the difference between implicit and explicit binding, and how to customize it for more advanced use cases.

Read more
Middleware: Concept and Building Your Own
Routing & Controllers

Middleware: Concept and Building Your Own

In this article, we'll explain how middleware fits into Laravel's request lifecycle, walk through some commonly used built-in middleware, and show you how to build a custom middleware of your own from scratch.

Read more
Creating Controllers with Artisan
Routing & Controllers

Creating Controllers with Artisan

In this article, we'll walk through how to create controllers using Artisan, the different types of controllers Laravel supports, and how to properly connect them to your routes.

Read more
Named Routes and Route Groups
Routing & Controllers

Named Routes and Route Groups

In this article, we'll explore both features in depth, showing how they work individually and how they're often combined together in real-world Laravel applications.

Read more
Laravel Routing Basics: GET, POST, PUT, DELETE
Routing & Controllers

Laravel Routing Basics: GET, POST, PUT, DELETE

If you've followed along with the earlier articles in this series, you've already seen a glimpse of routing when we peeked into routes/web.php. Now it's time to go deeper and actually understand how Laravel's routing system works, why HTTP methods matter, and how to start structuring your application's URLs properly.

Read more