Laravel Class not found

Laravel Class not found

i tried lots of things… and after 2 hours here is the solutions

  1. php artisan config:cache

  2. composer dump-autoload

  3. php artisan cache:clear

  4. php artisan view:clear

And be sure to declare the class in app.cfg


Related Articles

This package requires php <=7.0.27 but your PHP version (7.0.30) does not satisfy that requirement.

At some projects when I tried: php composer install it gives me the following error: – This package requires php

ext-gd * -> the requested PHP extension gd is missing from your system

Problem 1 – dompdf/dompdf v0.8.0 requires ext-gd * -> the requested PHP extension gd is missing from your system. –

Create a controller with populated with all the functions a

#php artisan make:controller FlyersController –resource the result is that you will have a controller with all the functions created: <?php