MrPunyapal
MrPunyapal

Punyapal Shah

Verified

@MrPunyapal

Laravel Engineer • Core Team @ Pinkary & Pest • Founder @ Laravel Artisans • Open Source • Building tools & sharing what I learn.
2K Posts 20K Views
  • No matching results...
  • Searching...

/ 255

My site was flickering a lot, and I thought it was just normal with Vite or the setup I have, but then one of my friends pointed out that it wasn't normal and explained why it was flickering. I took it seriously, found some issues, and here is how I solved them.
mrpunyapal.dev/tips/css-prevent-navigation-layout-shift-flicker

Laravel Tip 💡

Repeating the same audit fields across migrations? Define them once with a custom Blueprint macro, then reuse them with $table->auditFields().

One place to maintain common migration fields, instead of repeating them everywhere.
image

GitHub Actions Tip 💡

Need to trigger a workflow in another repository?

We use repository_dispatch to automatically update mrpunyapal.dev/tips whenever the tips repo changes.

One repo can trigger another repo's workflow with a custom event. 👀
image

Laravel devs, you asked for it and it's here! 👀

I've started collecting the Laravel tips I've posted on X in one place.

It's not all of them yet. I've only been able to add around 100 so far. 😅

But there's good news: you can add your own tips too!

Every tip is a Markdown file, so you can browse the collection, learn from it, or contribute your own Laravel tips.

Let's build this collection together. ❤️

github.com/MrPunyapal/tips

13