Answers for "class 'input' not found laravel 8"

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
1

class 'illuminate support facades input' not found laravel 7

In Laravel 5.2 Input:: is replaced with Request::

use Request::

Add to the top of Controller or any other Class

use Illuminate\Support\Facades\Request;
Posted by: Guest on November-20-2020

Code answers related to "class 'input' not found laravel 8"

Browse Popular Code Answers by Language