Solving subdomain CORS issues after switching to Laravel Herd
Link – – vanpachtenbeke.com
My colleague Niels solved a subtle problem when switching to Herd
Read more [vanpachtenbeke.com]
Oh Dear is the all-in-one monitoring tool for your entire website. We monitor uptime, SSL certificates, broken links, scheduled tasks and more. You'll get a notifications for us when something's wrong. All that paired with a developer friendly API and kick-ass documentation. O, and you'll also be able to create a public status page under a minute. Start monitoring using our free trial now.
Link – – vanpachtenbeke.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.
Stay up to date with all things Laravel, PHP, and JavaScript.
You can follow me on these platforms:
On all these platforms, regularly share programming tips, and what I myself have learned in ongoing projects.
Every month I send out a newsletter containing lots of interesting stuff for the modern PHP developer.
Expect quick tips & tricks, interesting tutorials, opinions and packages. Because I work with Laravel every day there is an emphasis on that framework.
Rest assured that I will only use your email address to send you the newsletter and will not use it for any other purposes.
Link – – 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]
Link – – 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]
Link – – 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]
Link – – 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]
Link – – tonsky.me
No suprises here: UTF-8 is the most popular encoding for data in transfer and at rest.
Read more [tonsky.me]
Link – – 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]
Link – – 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]
Link – – 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]
Link – – 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]
Link – – 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]
Link – – mailcoach.app
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]
Link – – 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]
Link – – posthog.com
This article shares specific, actionable advice for early-stage startups building dev tools in particular.
Read more [posthog.com]
Link – – timacdonald.me
Another gem of a blog post by Tim MacDonald
Read more [timacdonald.me]
Link – – myray.app - submitted by Spatie
How to use Ray as a debugging companion in busy integration tests
Read more [myray.app]
Link – – fly.io - submitted by Kathryn Anne Tan
Share dynamic attributes between parent and child components using Livewire Modelable, and thirftily share data between separate components with client side events!
Read more [fly.io]
Link – – myray.app - submitted by Spatie
Debugging Livewire components using Ray
Read more [myray.app]
Link – – mailcoach.app - submitted by Spatie
Discover how you can build a subscription form with Laravel Volt and Mailcoach.
Read more [mailcoach.app]