You have a typo in your tinker command. Its User::factory and not Users::factory User::factory()->...
Can you tell me how you prefix every table? Have you defined some model scope that prefixes all your...
The problem is with the syntax. I have copied the example from the official laravel 8.x documentatio...
You have to define your route like this Route::get('/users', [UsersContoller::class, 'index'])->m...
The Laravel portal for problem solving, knowledge sharing and community building.