Fast database queries are not always better
Tim McDonald explains Laravel's cool whenQueryingForLongerThan method.
Read more [timacdonald.me]
Tim McDonald explains Laravel's cool whenQueryingForLongerThan method.
Read more [timacdonald.me]
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.
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.
"As a Laravel developer, this is the one newsletter I most look forward to. Freek has a talent for distilling packages or techniques down to something immediately useful - one tip can save you hours and even weeks. It's concise and practical and highly relevant."
– ahmedash.dev - submitted by Ahmed Ammar
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
Dive deep into the magic behind FormRequest validation and uncover the steps Laravel takes to make your life easier
Read more [ahmedash.dev]
– fly.io - submitted by Chris Fidao
We see how to use the new Form objects in Livewire 3, and dig into how validation is wired up.
Read more [fly.io]
– ahmedash.dev - submitted by Ahmed Ammar
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
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]
– blog.eddy.management - submitted by Pascal Baljet
Caddy 2 is a popular web server written in Go. It is known for its simplicity and ease of use. It is also very easy to configure and deploy. In this tutorial, we will see how Eddy Server Management (open-source) can help you deploy Laravel apps with zero downtime.
Read more [blog.eddy.management]
– www.youtube.com - submitted by Philo
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]
You can now log into Flare and Oh Dear using your Google or GitHub account. In this blog post, you'll see the code that powers the social login feature.
Read more [flareapp.io]
Here's a recording of my talk that I gave Laracon US in Nashville a week ago.
– ahmedash.dev - submitted by Ahmed Ammar
Diving into the core of Folio understanding how it works under the hood!
Read more [ahmedash.dev]
– fly.io - submitted by Chris Fidao
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]
– stateoflaravel.com - submitted by Tobias Petry
The emerged ecosystem around Laravel is huge and new trends are popping up all the time. This survey is an attempt to gain insight into the representation of the diverse technologies and behaviors of this outstanding community.
Read more [stateoflaravel.com]
Here's how we handle our production secrets at Flare.
Read more [flareapp.io]
Let’s dive into some of the latest new features
Read more [youtu.be]
– fly.io - submitted by Johannes Werbrouck
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]
– dev.to
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]
– blog.oussama-mater.me - submitted by Oussama Mater
Explore how Laravel Envoy can help increase your productivity by automating the boring stuff.
Read more [blog.oussama-mater.me]
In this post, you'll learn how Ray can help you preview emails in your local environment and how it can simplify the process of developing and testing email workflows in Laravel.
Read more [myray.app]