how to get last uploaded data in laravel code example Example: laravel get last record Model::latest()->first();