This video will be available to
subscribers on Tue, Dec 16, 2025.
You must be a subscriber to view this video.
Dec 16, 2025
24m:14s

Routing Basics

Classification
Software Engineering | Frameworks | Laravel
Keywords
laravel | php

About This Episode:

In this episode, we dive into Laravel’s routing system — the foundation of handling incoming requests and returning the right responses.

You’ll learn how to:
✅ Define routes using closures or controllers
✅ Use route parameters, dependency injection, and model binding
✅ Explore HTTP verbs like GET, POST, PUT, and more
✅ Work with different response types — views, JSON, files, and downloads
✅ Understand how routing connects to your app setup in bootstrap/app.php

We’ll also update our app to:
- Create /s/{id} and /s/{survey} routes to demo parameters and DI
- Add a hash column to the surveys table
- Update model factories and re-seed data
- Introduce route model binding with /s/{survey:hash}

Laravel Routing Docs: https://laravel.com/docs/12.x/routing

#Laravel #PHP #Routing #Eloquent #WebDevelopment #ModelBinding #LaravelTips #FullStack #TekCasts #LearnToCode
Bob Cravens

Bob Cravens

Your Instructor
more »
Owner
TekFoundry
Wisconsin
United States
Short Bio:
Bob Cravens is a seasoned technology leader, software architect, and educator with a passion for empowering others through practical, real-world knowledge. As the founder of TekFoundry, Bob has dedicated his career to designing and delivering innovative software solutions that combine cutting-edge technology with elegant simplicity.

At TekCasts, Bob leverages over two decades of experience in software engineering, application architecture, and team leadership to create engaging, high-impact courses for developers and technology professionals. His instructional style is rooted in practical application, offering insights drawn from his extensive background in industries like medical devices and global technology consulting.

Bob’s expertise spans a variety of technologies and methodologies, including PHP/Laravel, FastAPI, and DevOps, as well as architecture best practices and team dynamics. Whether teaching foundational concepts or advanced strategies, he’s passionate about helping others turn complex challenges into streamlined solutions.

When not crafting elegant code or inspiring the next generation of tech innovators, Bob enjoys exploring the intersection of technology, business strategy, and creative problem-solving.