$users = User::withTrashed()->get();
$user = User::withTrashed()->where('id', 1)->restore();
$user = User::withTrashed()->where('id', 1)->forceDelete();Overall, the User withTrashed app is a useful package library for developers who want to maintain user data while still allowing for the soft deletion of accounts.