FatalErrorException in productController.php line 16: Class 'App\Product' not found Laravel
<p>I am new to laravel just displaying all the data of a single table using model named 'Product.php' inside my 'app' folder. Unfortunatly i'm getting above error while doing so. Following is the controller code:</p>

<pre><code>&lt;?php

namespace App\Http\Controllers;

use App;

use App\Product;

use Illuminate\Http\Request;

use App\Http\Requests;

class productController extends Controller
{

    function show(){

         return Product::all();
    }


}
</code></pre>

<p>and model code is following:</p>

<pre><code>&lt;?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class products extends Model
{
    protected $table='product';
}
</code></pre>