Skip to content
AdrianHL edited this page Feb 28, 2019 · 1 revision

Crud Events

When you use php artisan panel:crud, other than the model and controller it will create Observers file for your model in Observers folder.

You can put code in your Observers functions and they will run when a event like create trigger.

More info about Laravel Eloquent Observers