Answers for "laravel use input class"

PHP
0

message "Class 'Input' not found"

Input facade definition from config/app.php hence you have to manually add that in to aliases array as below,

'Input' => Illuminate\Support\Facades\Input::class,

Or You can import Input facade directly as required,

use Illuminate\Support\Facades\Input;
Posted by: Guest on September-03-2020

Browse Popular Code Answers by Language