I have added following line in app.php in alias section and have used in controll as "use input"
'Input' => Illuminate\Support\Facades\Input::class,
still it gives error input class not found
I have added following line in app.php in alias section and have used in controll as "use input"
'Input' => Illuminate\Support\Facades\Input::class,
still it gives error input class not found
Input
no longer exists. Use Request
instead of Input
.
use Illuminate\Support\Facades\Request;