add global scope laravel code example
Example 1: laravel force delete
Product::find($id)->forceDelete();
Example 2: laravel scope query
$model = App\Models\Flight::where('legs', '>', 100)
->firstOr(['id', 'legs'], function () {
// ...
});