laravel 5 Class Input not found

Google+ Pinterest LinkedIn Tumblr

When I am starting new Laravel project I get an error “laravel 5 Class Input not found”. When I am going to find the solution for this error. What I see Laravel remove Input aliases from “config/app.php” file. So, If you are using Laravel 5.2 or greater version Alos, you can get this error when you are trying to use Input Class.

laravel 5 Class Input not found

Here you can check the Laravel commit to remove Input facade definition from “config/app.php”. Hence you have to manually add that to aliases array like

Also, You can import Input Facades directly from Controller as required.

Finally, We are ready for Input class. Still, If you face any issue write the comment below.

Leave a Reply