check if table is empty laravel code example Example 1: empty table in laravel MyModel::truncate(); Example 2: empty table in laravel \App\Model::query()->delete();