1To also get soft deleted models :
2
3$trashedAndNotTrashed = Model::withTrashed()->get();
4
5Only soft deleted models in your results :
6
7$onlySoftDeleted = Model::onlyTrashed()->get();
1// Restore one Record
2User::withTrashed()->find($id)->restore();
3
4// Restore Multiple Records
5User::onlyTrashed()->restore();