Class 'Illuminate\Support\Facades\Input' not found Solution

Class 'Illuminate\Support\Facades\Input' not found Laravel Solution

By Beautiful

Class 'Illuminate\Support\Facades\Input' not found Solution

Class 'Illuminate\Support\Facades\Input' not found Solution


This is as a result of changes in the upgraded versions of Laravel from Laravel 5.2 and above.

All you have to do is change Class use Illuminate\Support\Facades\Input; to Classuse Illuminate\Http\Request;

You can now use like this:

$request->all() in place of Input::all();

$image_tmp = $request->file('image'); As seen in line 78 of the image above.

$title = $request->title; in place of $title = Input::get('title');

And so on...

I hope this helps.

❤️ from Pinkotab Co.

Posts Comments