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

Add PATH so the laravel executable can be located by your system

A first problem for me was thatI didn;t know where to add ~/.composer/vendor/bin . I searched on the internet and I

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