How to get last 10 records using AdminLTE in Laravel 4.2 from a specific table from the database?
try
foo::orderBy('id', 'desc')->take(10)->get();