@heyyyyyieeee I'd prefer a third option which follows RESTful pattern more, where u would hit the meant list/index endpoint with a user id filteration, and be sure to protect it with a permission and access per user if u have that feature within ur service.
example:
/api/v1/orders?user={id}
One of my Laravel ✨ best practices ✨ is only using the 7 "restful" methods in my controllers.
Controllers only have: index, show, create, store, edit, update, delete.
Think you need another method? You really need another controller. Built *all* of Vapor like this.
/1 How does ChatGPT work?
Disclaimer: since OpenAI hasn't provided all the details, some parts of the diagram may be inaccurate. @sama, we would love to hear your feedback.
We attempted to explain how it works in the diagram below. The process can be broken down into two parts.
Today's Laravel 9.38.0 release introduces Isolatable commands. Ensure that only one instance of an Artisan command is running at a time. ⌛
A cinch to use - and we've added support for this to the "migrate" command already. Handy during deployment!
Docs: https://t.co/35lcZJZHPO
I converted an old Vue 2 project - Typeform like form - into @vuejs 3 using:
1⃣Render fn
2⃣SFC
3⃣Functional components
4⃣Composable
5⃣Provide/Inject
6⃣Transitions with Animate.css
7⃣Pinia
8⃣Vuelidate
✨Github: https://t.co/9JrqsSXAlt
🧵1/3
That was fast! You can now try Nuxt 3 Beta, powered by @vite_js, entirely inside your browser 🎉
Thanks @Atinux & @nuxt_js team for making this happen so quickly!
Try it out 👉 https://t.co/GTdgA7Zi7y
I don't understand how companies desperately want devs to use their product, spend so much money building it... and not pay attention to documentation?!
Docs/tutorials are how people onboard.
It's not separate or a nice-to-have.
Also the point isn't that whether one should sort imports (which is a stylistic choice) or whether it should be enforced through linters. The point is when submitting a PR you should adhere to the style choices of the project, not yours.
Was scared I was out of good ideas a couple months ago now I feel like I’m writing what will be the most hype Laravel package ever if I can do it right. 🥴🥵
Chrome 88 now supports clip-path: path(). Now all the major browsers support the rule. Demo of using clip-path: path(...) on @CodePen to create a pop-out effect https://t.co/5QVNv9z3qO