how we fetch only last 3 items from database in laravel code example
Example: laravel get last record
return DB::table('files')->order_by('upload_time', 'desc')->first();
return DB::table('files')->order_by('upload_time', 'desc')->first();