Easily Register Laravel Observers with an Observable Trait

1 episode 4 mins

Course overview

If you're using Eloquent model observers, you'll know registering them can break your flow. How about a convenient trait to automatically hook up the associated observer? Let's build it!

Alex Garrett-Smith
Alex Garrett-Smith
Hey, I'm the founder of Codecourse!


Your progress
  • Total: 4 mins
  • Played: 0 mins
  • Remaining: 4 mins