This video will be available to
subscribers on Thu, Apr 2, 2026.
You must be a subscriber to view this video.
Apr 2, 2026
19m:26s

Events & Listeners

Classification
Software Engineering | Frameworks | Laravel
Keywords
laravel | php

About This Episode:

In this episode, we introduce event-based programming to the survey application and take a big step toward a decoupled, scalable architecture.

Instead of tightly coupling business logic inside controllers, we model real application behavior using events and listeners — allowing the system to react naturally to state changes and user actions. This is where the workflow starts to feel alive.

What You’ll Learn:

⚡ Event-Based Programming Concepts:
• What events are (and what they are not)
• Decoupling producers from consumers
• Synchronous vs asynchronous execution
• Why events scale better than conditionals

🛠 Hands-On Laravel Events:
• Creating observable events
• Creating multiple listeners
• Dispatching events from your domain
• Queuing listeners for background execution
• Convention-based auto-discovery

📚 Official Docs: https://laravel.com/docs/12.x/events

🗺 What’s Next: Laravel Commands

💡 This episode lays the foundation for truly reactive Laravel applications.
If you’ve ever felt your controllers getting “too smart,” this is the pattern you’ve been looking for.

💥 About the Series:
Pragmatic Laravel focuses on building real applications with Laravel — emphasizing clarity, maintainability, and thoughtful design decisions instead of shortcuts or magic.

#Laravel #PragmaticLaravel #PHP #CleanCode #TekCasts
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.