Ordering database queries by relationship columns in Laravel
Jonathan Reinink published another excellent blogpost on db performance.
Read more [reinink.ca]
Jonathan Reinink published another excellent blogpost on db performance.
Read more [reinink.ca]
To celebrate PHP's 25th birthday, JetBrains published a nice timeline that shows PHP's rich history.
Read more [www.jetbrains.com]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Always fresh, useful tips and articles. Carefully selected community content. My favorite newsletter, which I look forward to every time."
Nikita Prokopov shares some good insights on why having a good monitor is important. MacOS users: your fonts will look much better with font smoothing turned off.
Read more [tonsky.me]
Adam Wathan recently started hiring the first employees of his brand new company. On Basecamp he shared how they work.
Read more [public.3.basecamp.com]
Last week I held an online meetup. My two guests were JMac and Nuno Maduro. 00:00 Welcome 02:00 Exploring Laravel Workbench (JMac) 30:00 Introducing Pest 0.2 (Nuno Maduro) Show links Laravel Shift: https://laravelshift.com Pest: https://pestphp.com
At Full Stack Europe 2019 my colleague Alex gave an amazing talk on regex.
Barry Vd. Heuvel, the creator of Laravel Debugbar, compares Debugbar against Telescope.
Read more [barryvdh.nl]
My colleague Brent shares a story to illustrate why you shouldn't write your own framework.
Read more [stitcher.io]
A few weeks ago, Jmac tweeted out an excellent idea. What if we could use try and catch in a collection chain?
Collections are the jam. Yet they leave me dreaming of more.
— Jason McCreary (@gonedark) June 1, 2020
Take this block that performs some custom validation logic by leveraging a value object constructor.
Collections definitely streamline it, but what if I could also chain the exception handling… 🔥 pic.twitter.com/4jj0uFgwWb
Meanwhile, Jmac and I did a few code pairing sessions to work on a possible implementation. We've added try and catch methods to the laravel-collection-macros package.
In this blog post, I'd like to share what you can do with these methods and how they work under the hood.
Dries Vints was a guest on my stream. He shared his newest project, called Blade UI Kit.
It can be very hard to spot a false positive within a test. So how do you avoid them?
Read more [timacdonald.me]
We released a new package called spatie/laravel-cronless-schedule. It can run the Laravel scheduler (or any other command really), without relying on cron. Instead of cron, a never-ending ReactPHP loop is used.
In this blog post, I'd like to introduce the package to you.
After more than 2 years of building Oh Dear, I still struggle with the most fundamental question: how are users finding our application and where should we focus our marketing efforts to maximize that?
Read more [ma.ttias.be]
We're excited to announce all Oh Dear users now have access to detailed performance metrics for all of their websites!
Read more [ohdear.app]
The usage of phantom types is a simple type level trick which can help with this in practical settings, without requiring complicated features or making your code too abstract and less readable.
Read more [marcosh.github.io]
If you’ve ever found yourself asking any of these questions and happen to use VSCode, maybe the new Inline Parameters extension will help you out!
Read more [liamhammett.com]
Packages play a big role in the Laravel scene. How big and which packages? Medium user Džuris took the data from the Packagist.org API and filtered out the Laravel packages.
Read more [medium.com]
Laravel's native scheduler allows you to schedule Artisan commands to run every minute. For a project I'm working on I needed to schedule a command to run every few seconds. I found a good solution to do this using an ReactPHP powered event loop. Because this solution could be helpful for others as well, I decided to package it up.
Using the laravel-short-schedule package, you can schedule artisan commands to run every second or even lower frequencies. In this blogpost I'd like to introduce the package.
What happens to all of those local branches after the pull request has been merged and deleted on Github?
Read more [tomschlick.com]