Creating a custom Laravel Pulse card
– aaronfrancis.com - submitted by Aaron Francis
A quick tutorial on how to create a custom Laravel Pulse card
Read more [aaronfrancis.com]
– aaronfrancis.com - submitted by Aaron Francis
A quick tutorial on how to create a custom Laravel Pulse card
Read more [aaronfrancis.com]
– www.otsch.codes - submitted by Christian Olear
Abstract classes cannot be instantiated directly, posing a challenge when testing functionality implemented within the abstract class itself. In this article, I share my approach to addressing this issue.
Read more [www.otsch.codes]
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."
– aaronfrancis.com - submitted by Aaron Francis
Rendering Laravel Blade components in markdown files.
Read more [aaronfrancis.com]
– rias.be
Stale While Revalidate (SWR) is a strategy to first return the data from the cache, then send the fetch request, and finally come up with the up-to-date data.
Read more [rias.be]
– seankegel.com - submitted by Sean Kegel
This article provides a guide on simplifying API integration in Laravel using the Http Facade, with a focus on building a reusable API request and client class.
Read more [seankegel.com]
My colleague Niels solved a subtle problem when switching to Herd
Read more [vanpachtenbeke.com]
Like every year, we have some Black Friday discounts at Spatie. We made fun video about it.
– muhammedsari.me - submitted by Muhammed Sari
Muhammed's been working with Eloquent for over half a decade now, and it's time to share his next bag of tricks. You are guaranteed to learn something new!
Read more [muhammedsari.me]
– jeffochoa.me - submitted by Jeff
Although PHP Enumerations are meant to provide an easy and elegant solution to work with a predefined set of values, these classes are often misused, resulting in a lack of consistency due to the introduction of all sorts of methods that increase their complexity. In this article, we are going to go through some practices (both good and bad) with the goal of clarifying the understanding of these types of objects to help you build a more resilient and consistent codebase.
Read more [jeffochoa.me]
– flareapp.io - submitted by Spatie
Discover how we're using Cloudflare Workers to perform API authentication on the edge to make our infrastructure more cost-effective.
Read more [flareapp.io]
– daryllegion.com - submitted by Daryl Legion
Duplicate form submissions or requests can be a common issue in web applications, often leading to unintended consequences. Laravel offers a straightforward solution to prevent these duplicates by using atomic locks.
Read more [daryllegion.com]
No suprises here: UTF-8 is the most popular encoding for data in transfer and at rest.
Read more [tonsky.me]
– youtu.be - submitted by Bert De Swaef
in this video, we're transforming our load more button functionality to an infinite scroll using Alpine.js and more specifically we're using x-intersect to trigger our loadMore function.
Read more [youtu.be]
– youtu.be - submitted by Bert De Swaef
In this video you'll learn how to implement "load more" functionality with Livewire 3 in about 2 minutes.
Read more [youtu.be]
– imacrayon.com - submitted by Christian Taylor
How to easily progressively enhance an instant search component with Alpine AJAX so that it works with or without JavaScript available.
Read more [imacrayon.com]
– www.conroyp.com - submitted by Paul Conroy
Writing tests to validate behaviour in a multi-tenancy, multi-database app can be challenging. "Lock wait timeout" errors, or transactions cleaned up in one db and not another - it can be very frustrating! Fortunately, Laravel has a way to support db transactions across multiple databases.
Read more [www.conroyp.com]
– devonmather.dev - submitted by Devon Mather
We will look at a couple of common scenarios where adding a couple of lines to your tests can future-proof your application from data loss when using Model Observers.
Read more [devonmather.dev]
Today, we're adding some very powerful features to both the hosted and self-hosted versions of Mailcoach: split testing (also known as A/B testing), MJML support, Livewire 3 support, suppression lists, new datables, and much more!
Read more [mailcoach.app]
– stefanzweifel.dev - submitted by Stefan Zweifel
I struggled for a long time to find a good way to represent settings in my Laravel apps. spatie/laravel-data solves this for me with strong types and Eloquent casting.
Read more [stefanzweifel.dev]
This article shares specific, actionable advice for early-stage startups building dev tools in particular.
Read more [posthog.com]