In this tutorial I’m going to describe how to solve “Class ‘App\Http\Controllers\Student’ not found” if you got this types of error please follow some easy steps
1step this types of error is showing when you’re not using class name whatever you have define below code as like :-
public function index() { $students = Student::all();