Laravel – Class ‘Input’ not found issue?

Share Me
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Today now in this post i would like to show you How to solve Class ‘Input’ not found issue in laravel. When i start to work on Laravel at that time i was fetch this problem “Class ‘Input’ not found”. When i was copy my old controller code from laravel old version on that time i was found this issue, but i also could use the Input instead to Request but i just want to use Input as it is. But now at last was found the solution. you have to just need to use following aliase on your controller.

use Illuminate\Support\Facades\Input as Input

Read Also : How to convert Object into Array in PHP?

Thanks for read. I hope it help you. For more you can follow us on facebook.

About code chef

My name is Shahriar sagor. I'm a developer. I live in Bangladesh and I love to write tutorials and tips that will help to other Developer's. I am a big fan of PHP, Javascript, JQuery, Laravel, Codeigniter, VueJS, AngularJS and Bootstrap from the early stage.

View all posts by code chef →