Replies: 3 comments 1 reply
-
In the "model-name-plural" we can follow some naming convention/pattern This 2 guides can help, I think |
Beta Was this translation helpful? Give feedback.
-
Not all developers store routes in a |
Beta Was this translation helpful? Give feedback.
-
@taylorotwell @TBlindaruk @GrahamCampbell @themsaid @driesvints @lucasmichot what you guys think about? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I think most part of the time, developers when generate a model with -c -r (controller and resource), could have a parameter to pass together to append
Route::resource(model-name-plural?, 'ControllerName')
atroutes/web.php
and if the parameter
--api
was passed together, it could append onroutes/api.php
Also the
-a/--all
could be modified to add the route too. We have lot's of things being generated, I think routes could be too.It would make our life faster. What you guys think about?
Beta Was this translation helpful? Give feedback.
All reactions