Introducing PHP Operators
Here's a fun little sideproject from my colleague Seb. This web app is built with Laravel, Alpine.js, and Tailwind CSS. Content is stored in Markdown files and loaded with our sheets package.
Read more [php-operators.com]
Here's a fun little sideproject from my colleague Seb. This web app is built with Laravel, Alpine.js, and Tailwind CSS. Content is stored in Markdown files and loaded with our sheets package.
Read more [php-operators.com]
If you held an individual Spatie employee at gunpoint (please don't) and forced them to pick a favorite, you'll get a 50/50 split. But when we look at the choice at hand as a team, it becomes easier to determine the right fit.
Read more [spatie.be]
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.
"Freek publishes a super resourceful and practical newsletter. A must for anyone in the Laravel space"
– muhammedsari.me - submitted by Muhammed Sari
Group by type or context / process? One of these methods will crush your project's growth. Find out which!
Read more [muhammedsari.me]
– muhammedsari.me - submitted by Muhammed Sari
Everyone knows the classic decorator pattern—but have you met its duck-typed cousin? Discover how to extend Laravel behavior without interfaces, the clever way.
Read more [muhammedsari.me]
– liamhammett.com - submitted by Liam Hammett
Find out how we can champion PHP as a community and help bring it to the attention of more developers
Read more [liamhammett.com]
– liamduckett.com - submitted by Liam
A short post about my preferences around type safety and static analysis.
Read more [liamduckett.com]
– bert.gent - submitted by Bert De Swaef
If you’ve been working with Laravel for a little while, you’ve probably come across observers and event listeners. But what is the difference?
Read more [bert.gent]
Marin Joo covers configuring Supervisor to manage worker processes, including defining commands, scaling, and logging. He also explores using multiple queues and prioritizing them to optimize worker usage.
Read more [martinjoo.dev]
Laravel’s new fillAndInsert() method enables bulk insertions while applying model casting, timestamps, and UUID generation.
Read more [www.harrisrafto.eu]
Many of the most effective people I’ve worked with also do the most metacognition, i.e., reflecting on their own (and their team’s) work and thought processes, and figuring out how to improve them.
Read more [www.benkuhn.net]
A couple of years ago, Laravel introduced a great feature which allows to run PHPUnit / Pest tests in parallel. This results in a big boost in performance.
By default, it determines the concurrency level by taking a look at the number of CPU cores your machine has. So, if you're using a modern Mac that has 10 CPU cores, it will run 10 tests at the same time, greatly cutting down on the time your testsuite needs to run completely.
A default runner on GitHub doesn't have that many cores, so you can't leverage parallel testing as good as in your typical local environments.
In this blog post, I'd like to show you a way of running your tests on GitHub, by splitting them up in small chunks that can run concurrently.
We use this technique at Oh Dear to cut down the running time of our vast testsuite from 16 minutes to only just 4. In this blog post all examples will come from the Oh Dear code base.
– www.conroyp.com - submitted by Paul Conroy
Stripe metadata is great for config, entitlements, and... DNS? This experiment takes one good API feature and stretches it into the worst possible infrastructure layer.
Read more [www.conroyp.com]
Here's the recording of the talk I did at this years Laracon India. In this talk, I show how we use our laravel-multitenancy package to make Mailcoach tenant aware. Enjoy!
– aaronfrancis.com - submitted by Aaron Francis
Transforming and serving images from Laravel in a cache-friendly way.
Read more [aaronfrancis.com]
Troy Hunt recently becaming the victim of phising. This proves yet again, that this can happen to anyone, not only non-technical people.
Read more [www.troyhunt.com]
We've been using this solution in our projects as well.
Read more [darkghosthunter.medium.com]
Michael Lynch, a software blogger, provides examples of his own successful posts and suggests strategies for promoting articles on platforms like Hacker News and Reddit.
Read more [refactoringenglish.com]
Don't use PHP for this. Still fun to do though
Read more [phpmemo.com]
Naming things is good skill to have for any programmer.
Read more [masteringlaravel.io]
– www.youtube.com - submitted by Pascal Baljet
Learn how you can update an Inertia.js page in real-time using client-side visits—without overloading your server, even with many users online. Laravel Echo, Laravel Reverb, and a new Inertia v2 feature make it simple and efficient.
Read more [www.youtube.com]