make:model doesnt generate resource classes #54098
Unanswered
does1tmatter
asked this question in
Q&A
Replies: 2 comments
-
I think, it works fine in Laravel context resource classes means a controller that contains index, create, store, show, update and destroy method. |
Beta Was this translation helpful? Give feedback.
0 replies
-
php artisan make:model -rR ( works same ) if we want to create controller then **
** needs to be passed
used no needs to pass
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Laravel Version
11.31
PHP Version
8.3.15
Database Driver & Version
No response
Description
artisan make:model
command seems to ignore resource classThough according to documentation it should be fine:
Steps To Reproduce
reproduces in laravel.new just fine
Beta Was this translation helpful? Give feedback.
All reactions