SyntaxFix
Write A Post
Hire A Developer
Questions
You don't need to add --resource flag just type the following and laravel will create the whole desired resources
php artisan make:controller TodoController --model=todo