Encapsulating Polymorphism
– tighten.com - submitted by Jamison Valenta
In this post, Andrew presents several patterns in polymorphic database relationships in Laravel that allow us to eliminate conditionals.
Read more [tighten.com]
Posts tagged with laravel
– tighten.com - submitted by Jamison Valenta
In this post, Andrew presents several patterns in polymorphic database relationships in Laravel that allow us to eliminate conditionals.
Read more [tighten.com]
– vanrossum.dev - submitted by Jeffrey van Rossum
DropBlockEditor, a drag and drop editor made with Livewire, is now available in pre release. This article tells you more about it and gives you an idea of how you could use it.
Read more [vanrossum.dev]
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."
– fly.io - submitted by Chris Fidao
You can instrument your Laravel apps by having it publish Prometheus metrics. With the help of Prometheus, you can use Grafana to create dashboards and alerts to monitor your apps.
Read more [fly.io]
Here's the recording of the Laravel Worldwide Meetup which was held last week.
– www.youtube.com - submitted by Bert De Swaef
The entire playlist of our Laravel for Beginners course. You'll learn about model, controllers, factories, seeders, relations and many more.
Read more [www.youtube.com]
– fly.io - submitted by Johannes Werbrouck
Invoicing is boring and manually writing up invoices even more so, that's why you should automate the entire process in your app. Here, I show you how to use Spatie’s wonderful Browsershot package to do just that.
Read more [fly.io]
– blog.oussama-mater.me - submitted by Oussama Mater
This article shows how to implement real-time notifications using Server-Sent Events instead of WebSockets or Long Polling.
Read more [blog.oussama-mater.me]
– innocenzi.dev - submitted by Enzo Innocenzi
Back in september 2022, a new "scoped" filesystem driver has been introduced to Laravel. This article shows how to use it to improve file management and refactoring.
Read more [innocenzi.dev]
– fly.io - submitted by Chris Fidao
Use Laravel's new Process facade while avoiding issues related to processing stdout vs stderr output, environment variables, and PHP security settings.
Read more [fly.io]
– arunas.dev - submitted by Arunas
If you have jobs and listeners being fired within database transactions, it can lead to data inconsistencies if the transaction rolls back. Learn how to properly handle them here.
Read more [arunas.dev]
We've released a new major version of our Laravel Analytics package. The most important new feature of this release is the support for GA4.
– www.conroyp.com - submitted by Paul Conroy
Rolling averages are a great tool for smoothing out noisy data, helping you to more easily spot long-term trends. This new package adds first-class support to Laravel Collections for rolling average calculations.
Read more [www.conroyp.com]
– fly.io - submitted by Chris Fidao
Use browser's native autocomplete input fields and dynamically update with Livewire!
Read more [fly.io]
In this blog post, I'd like to show the easiest way to skip tests conditionally in tests. Using the simple technique, which can be used for other things besides skipping tests, you can make your tests much more flexible.
The laravel-data package is fantastic to work with, but it also adds a lot of complexity when outputting data. In this blog post, we will look at how we've improved the performance of the package and, thus, the complete Flare application.
Read more [flareapp.io]
– fly.io - submitted by Kathryn Anne Tan
We easily upload multi-selected files with Livewire, in three ways: -All files in one request; -Each file in separate, concurrent requests; -and finally, each file in chunks!
Read more [fly.io]
– fly.io - submitted by Kathryn Anne Tan
Easily share user-video interaction data from client to browser with Livewire!
Read more [fly.io]
Valet is one of my favourite pieces of technology: I don't notice that I'm using it, still I use it every single day.
Read more [laravel-news.com]
When looking at recent changes in the Laravel framework, I saw some PHP syntax that I didn't see before. Because I've been working with PHP for over 20 years and have a firm grasp of the language, I was surprised to see new syntax for the first time.
In this sponsored talk given at Laracon India 2023, I demo all major Oh Dear features. After that, I share how the Laravel app behind Oh Dear is structured using domains.
The audio quality is not perfect, but it should still be understandable.