I have the following code in \'saved\' model event:
Session::flash(\'info\', \'Data has been saved.\')`
so everytime the model is saved I
In laravel 7.x you can do that as easy as
use App\User; $user = User::withoutEvents(function () use () { User::findOrFail(1)->delete(); return User::find(2); });
See more in Laravel 7.x Muting Events documentation