Whoop. Looking forward to speaking on something close to my heart.
If you’re bored on the 30th, why not come listen? 🎉
#laravel#oss#software#dev#web#webdev
Didn't really see a need for #Ray by @spatie_be, but after trying it, I'm in love. `dd()` can sometimes be too harsh, especially when dealing with an item nested in an array or chain. Ray seems to strike a perfect balance.
Nice job @freekmurze and team!
🔥 Avoid layout shifts on long pages by adding a scrollbar from the get-go:
html {
overflow-y: scroll;
}
✅ Less annoying for users
✅ Improves CLS score
✅ Can boost your SEO rankings 😮 (Google cares about CLS now)
Live demo: codepen.io/joshwcomeau/pen/r…
(S/o to @TimVereecke!)
🎉 I'm thrilled to announce that my buddy @bobbybouwmann and I finally launched our book Laravel Secrets. We put so much effort into it and are super proud of the result. Get your copy today for a limited introductory price of 29 EUR only at laravelsecrets.com
Testing middleware in @laravelphp? Don't be afraid to create a route inside your actual test. It can give confidence that the implementation works without needing a real life example.
#tdd#laravel#webdev#dev#packages
To celebrate the release of @spatie_be's new debugging tool, Ray, I'm giving away two licenses! All you need to do is retweet this tweet to be in for a chance to win. Competition open until January 12 at 10am ET.
When you're building a package, your Service Provider can become quite large. Laravel ships with an AggregateServiceProvider that you can use to easily split your providers up into manageable classes.
#dev#laravel#web#package
🔥 Ever needed padding around dividing borders in Tailwind?
Add padding to each loop item, a matching negative margin on the parent to balance it out, then wrap it in `flow-root` to avoid collapsing margins.
No conditional index stuff 🤘🏻
play.tailwindcss.com/8GXSdVb…
🚀 Super excited to announce that @pestphp v1.0 is finally out!
After 400+ commits, 3 betas, seven months - and endless hours of open-source contributions - PEST has finally reached its first stable public release. 🥳
nunomaduro.com/pest-v1-relea…