PHP, Programming IT Nursery Automatically deleting related rows in Laravel (Eloquent ORM) When I delete a row using this syntax: $user->delete(); Is there a way to attach a callback of sorts, so that it would e.g. do this automatically: $this->photo()->delete(); Preferably... May 31, 2022 0 Comments