title: laravel Class 'App\Categories' not found
body: <p>When I try to call a function with categories data <code>$categories = Categories::all();</code> it returns an error that <code>Class 'App\Categories' not found</code></p>
  
  <p>Here is my CategoriesController code:</p>
  
  <pre><code>namespace App\Http\Controllers\Admin;
  use App\Http\Controllers\Controller as BaseController;
  use Carbon\Carbon;
  use Illuminate\Http\Request;
  use Illuminate\Support\Facades\Input;
  use App\Categories;
  
  
  class CategoriesController extends BaseController
  {
      public function listcategories() {
      $categories = Categories::all();
      dd($categories);
      return view('admin.list_categories')-&gt;with('listcategories', 
      $categories);
  }
  </code></pre>
  
  <p>Here is my Categories model code ;</p>
  
  <pre><code>  namespace App; 
    use Illuminate\Http\Request;
    use Illuminate\Database\Eloquent\Model;
    use Illuminate\Support\Facades\DB;
    use Illuminate\Support\Facades\Input;
  
    class Categories extends Model
    {
      protected $fillable = [
      'title',
      'description',
      'flag_image',
      'status'
   ];
  
  const STATUSES = [
      'Active' =&gt; 'Active',
      'Inactive' =&gt; 'Inactive',
  ];
  
  const DEFAULT_STATUS = 'Active';
  /**
   * Indicates if the model should be timestamped.
   *
   * @var bool
   */
  public $timestamps = false;
  
  public static function rules() {
      return [
          'title' =&gt; 'required|string|max:255',
          'status' =&gt; 'required|string|in:' . implode(",", Categories::STATUSES)
      ];
  }}
  </code></pre>
  
  <p>What is the problem ? I can't get it.</p>