snippet

Bootable traits in Laravel

If you need to register something within the boot() method of a model, here's a quick tip to do this within a trait if needed.

Watch this snippet

1. Bootable traits in Laravel

06:12
  • 6 mins
  • Released 4 months ago