The Laravel serial man launches various event models on models that, in particular, trigger notifications of new order notifications, starting with
Product::saved() Model Event.
This significantly slows down the loading of the database. Is it possible to determine if the seed is fired, and if so, tell Laravel not to fire model events?
laravel laravel-5 laravel-seeding
Jack
source share