title: Laravel Class 'Datatables' not found error?
body: <p>I am developping an application where i retrieve data from Mysql database and show it using Laravel and Datatable, i keep getting this error: </p>
  
  <pre><code>"Class 'Datatables' not found"
  </code></pre>
  
  <p>I tried different versions of Datatables but none worked and i keep getting the same error.</p>
  
  <p>Here is code:</p>
  
  <pre><code>?php
  
  namespace App\Http\Controllers;
  
  use Validator;
  use Illuminate\Http\Request;
  use App\Student;
  use Datatables;
  
  class AjaxdataController extends Controller
  {
      function index()
      {
       return view('student.ajaxdata');
       //http://127.0.0:8000/ajaxdata
      }
  
      function getdata()
      {
       $students = Student::select('id', 'first_name', 'last_name');
       return Datatables::of($students)//error
              -&gt;addColumn('action', function($student){
  </code></pre>