Laravel 5 - Class 'Input' not found issue?

By Hardik Savani | April 8, 2016 | | 10829 Viewer | Category : Laravel

When i start to work on Laravel 5.2 at that time i fetch this problem "Class 'Input' not found". When i copy my old controller code from laravel 5.1 version that time i found this issue, but i also could use Input insted to Request but i want to use Input as it is. But at last found solution. you have to just use following aliase on your controller.

use Illuminate\Support\Facades\Input as Input

Please Subscribe Your Email Address, We Will Notify When Add New Post: