Support the ongoing development of Laravel.io →
Faisal Khan

Faisal Khan

Joined 2 Mar 2022
I'm a Lead Software Engineer with a demonstrated history of working in the computer software industry. Skilled in Laravel,Livewire,PHP,jQuery,JS,Bootstrap & CSS

Statistics

Threads 0
Replies 134
Solutions 23
Articles 0

faisal has not posted any threads yet

replied 3 years ago

What causes this 'Unknown format "factory"' error?

You have a typo in your tinker command. Its User::factory and not Users::factory User::factory()->...

0 Likes
replied 3 years ago

Problem with Laravel Database Prefix

Can you tell me how you prefix every table? Have you defined some model scope that prefixes all your...

0 Likes
replied 3 years ago

What causes this 'Unknown format "factory"' error?

The problem is with the syntax. I have copied the example from the official laravel 8.x documentatio...

0 Likes
Solved
replied 3 years ago

How can I use a middleware method in the routes file?

You have to define your route like this Route::get('/users', [UsersContoller::class, 'index'])->m...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.