Replies: 4 comments 2 replies
-
I totally agreed. |
Beta Was this translation helpful? Give feedback.
-
Love this! Added to the roadmap 👍 |
Beta Was this translation helpful? Give feedback.
-
Hello guys. I agree too, that is very usefull. Even though @Mulkave, what I meant for |
Beta Was this translation helpful? Give feedback.
-
I am wondering if there’s any progress related to API Resources. They were briefly discussed in few places in Slack and here. I am wondering if someone is using Laravel API Resources in project. Where do you store them? How do you use them? Do you have a "global" job like |
Beta Was this translation helpful? Give feedback.
-
I have this situation were I'm creating a simple resource (mainly for APIs).
Let's say we have an ArticleController. we usually need Features for all methods in the resourceful controller (things like
StoreArticleFeature
,UpdateArticleFeature
...) then a set of default jobs (CreateArticleJob
,UpdateArticleJob
...) and for validation, we might need an ArticleRequest class.So, I'm wondering if we can add a command that automate this process, something like
lucid make:resource
that will create a boilerplate for all those classes.Let me know what you think.
Beta Was this translation helpful? Give feedback.
All reactions