DEV Community

Discussion on: Understanding Laravel Observers: A Complete Guide to Automated Model Event Handling

Collapse
 
charlie_waddell01 profile image
Charlie Waddell

Howdy! You should checkout this package:

github.com/CWAscend/laravel-column...

It re-thinks laravel observers, and will tidy some of your examples - specifically:

  • Async queued tasks
  • Your multiple wasChanged checks
  • Single responsibility
  • Improve testability

Happy coding :)