Tag Archives: usage of eloquent in Lumen framework

FatalThrowableError in Controller.php line 24: Class ‘App\Models\Users’ not found In Lumen

Scenario:While setting Lumen in local testing environment, create a new folder Models inside app this time if we try to display db records using Eloquent method getting the above mentioned error. Solution: In the model file by default namespace/App will be there becuase of this it is throwing error.So please add the below change useā€¦ Read More »