Fast database queries are not always better
– timacdonald.me – Edit
Tim McDonald explains Laravel's cool whenQueryingForLongerThan method.
Read more [timacdonald.me]
– timacdonald.me – Edit
Tim McDonald explains Laravel's cool whenQueryingForLongerThan method.
Read more [timacdonald.me]
– www.deviaene.eu – Edit
Personally, I've never done this, as it feels like a micro-optimizations, but still good to know.
Read more [www.deviaene.eu]
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’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
by Freek Van der Herten – 5 minute read – Edit
In a perfect world, email clients can render HTML as good as major browsers. Unfortunately, this is not the case. Email clients don't support modern HTML and CSS niceties and have a lot of quirks to be mindful of. Making sure an HTML email looks good in the most used email clients takes a lot of work.
To make crafting HTML emails a lot more enjoyable, the folks at Mailjet created a solution called MJML, which stands for "Mailjet Markup Language." It's an easy-to-use abstraction layer over HTML.
We have created a new package called spatie/mjml-php to easily convert MJML to HTML using PHP. If you're using Sidecar, you'll be happy to know that we've also created a package called spatie/mjml-sidecar, to convert MJML to HTML using Sidecar.
In this blog post, I'd like to introduce the package to you.
– ahmedash.dev - submitted by Ahmed Ammar – Edit
Dive into a hands-on experiment with Laravel and Livewire, exploring real-time page presence. Discover how to let users see who's viewing the same content in real-time. Packed with code snippets.
Read more [ahmedash.dev]
– ahmedash.dev - submitted by Ahmed Ammar – Edit
Dive deep into the magic behind FormRequest validation and uncover the steps Laravel takes to make your life easier
Read more [ahmedash.dev]
– ahmedash.dev - submitted by Ahmed Ammar – Edit
Just used Livewire 3 and Volt to create a 'live users' stat component. Curious about the process? Come along as I show how it's done!
Read more [ahmedash.dev]
– fly.io - submitted by Chris Fidao – Edit
Use Livewire 3's new Persist feature to create a chat widget that persists throughout your site without needing an SPA.
Read more [fly.io]
– www.youtube.com - submitted by Philo – Edit
Let's take a look at Laravel Prompts! In this video, we will refactor some existing CLI commands and take them to the next level. 🔥
Read more [www.youtube.com]
– ahmedash.dev - submitted by Ahmed Ammar – Edit
Diving into the core of Folio understanding how it works under the hood!
Read more [ahmedash.dev]
– fly.io - submitted by Chris Fidao – Edit
We see how Laravel queues handle graceful restarts/stops, and how we can do the same in our own Artisan commands.
Read more [fly.io]
– www.conroyp.com - submitted by Paul Conroy – Edit
Value objects are a great way to add safety and consistency to PHP applications, while improving readability & testability. Let's dive into what they are, what they're not (DTOs!), and how they can help us improve our code quality.
Read more [www.conroyp.com]
– flareapp.io – Edit
Here's how we handle our production secrets at Flare.
Read more [flareapp.io]
– fly.io - submitted by Johannes Werbrouck – Edit
In this article, I take a first look at Filament and show you how to set it up and take your first steps. You'll be amazed at how much you can get done in a short amount of time! This article is part of a series where I'll build an app that shows in what fly.io regions it has been deployed, and I'll add a neat party trick at the end. Stay tuned!
Read more [fly.io]
Recently, OpenAI released an update for ChatGPT, introducing new features that allow developers to describe language model functions. Let's leverage this new functionality in Laravel
Read more [dev.to]
My colleague Seb has an interesting though on a future PHP feature.
Read more [sebastiandedeyne.com]
– Edit
A good introduction to Rust given by Nuno at the PHP UK Conference this year.
– Edit
Brent explains a nice potential addition to PHP.
– ryangjchandler.co.uk - submitted by Ryan Chandler – Edit
Let's take a look at how you could build your own template engine in PHP.
Read more [ryangjchandler.co.uk]
– stefanzweifel.dev - submitted by Stefan Zweifel – Edit
Do you create automated backups of your database? Are you sure they work? laravel-backup-restore is a new package than can help you verify the integrity of your backups.
Read more [stefanzweifel.dev]
An important problem of a programmer's productivity is finding his way through the code. A good project structure and your IDE can get you a long way, but sometimes it’s not enough.
Read more [myray.app]