Use a view instead of a complex Eloquent query in your Laravel application
– tray2.se - submitted by Patrik Ahlström – Edit
What is a database view, and how can we use it to make our code cleaner?
Read more [tray2.se]
Posts tagged with laravel
– tray2.se - submitted by Patrik Ahlström – Edit
What is a database view, and how can we use it to make our code cleaner?
Read more [tray2.se]
– laravel-news.com – Edit
I'm very excited for Livewire v3. The new features look amazing!
Read more [laravel-news.com]
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.
"If you are one of the *millions* who have downloaded a Spatie package, then you understand the quality that Freek aims for. The newsletter is of the same quality of any Spatie package you're using."
by Freek Van der Herten – 6 minute read – Edit
I'm proud to announce that our team has released a new package called laravel-dynamic-servers.
This package can help start and stop servers when you need them. The prime use case is to spin up extra working servers to help you process the workload on queues.
In this blog post, I'd like to introduce the package to you.
– Edit
Here's a nice video from Povilas in which he explores our spatie/laravel-stubs package.
by Freek Van der Herten – 1 minute read – Edit
Here's my talk on our popular Laravel Data package, which I gave at Laracon Online earlier this week.
– ralphjsmit.com - submitted by Ralph J. Smit – Edit
In this tutorial I'll show you how to use event listeners to stop outgoing emails just before they're sent.
Read more [ralphjsmit.com]
Chris Fidao makes sure that an app feels fast no matter from where you visit it. Fascinating stuff!
Read more [fly.io]
– dyrynda.com.au – Edit
How to swap Laravel's URL signing key is not documented, but luckily Michael wrote a good post on it!
Read more [dyrynda.com.au]
by Freek Van der Herten – 5 minute read – Edit
One of the joys of using packages in the Laravel ecosystem is how easy they are to install. Packages can be pulled in using Composer, and Laravel will automatically discover them.
In this post, you'll learn how to easily add an install command, making it even easier for package users to start using a package.
by Freek Van der Herten – 2 minute read – Edit
I'm proud to announce that our team has released a new small package: spatie/laravel-model-info. Let's take a look at what this package can do.
– tighten.com - submitted by Jamison Valenta – Edit
Looking for a fun way to dive deeper into Laravel that's not just a to-do list tutorial? Our "Learning Laravel" series by Kristin Collins is exactly what you've been missing!
Read more [tighten.com]
– sinnbeck.dev - submitted by René Sinnbeck – Edit
Build a file uploader that supports drag and drop and file selection, has a progressbar, filename preview and file removal.
Read more [sinnbeck.dev]
– doeken.org - submitted by Doeke Norg – Edit
It's time to replace your mocked event dispatchers with a real one.
Read more [doeken.org]
– tighten.com - submitted by Jamison Valenta – Edit
If you're running a Laravel application in the 5's, have a legacy application bootstrapped inside Laravel, don't have any tests, or are staring in silent terror at just how long ago your production server's PHP version hit its end-of-life, this post is for you!
Read more [tighten.com]
– mateusguimaraes.com - submitted by Mateus Guimarães – Edit
Learn how I was able to easily scale an application to handle hundreds of millions of jobs using nothing but Laravel, Redis and MySQL
Read more [mateusguimaraes.com]
by Freek Van der Herten – 5 minute read – Edit
While working on the upcoming Oh Dear redesign, I noticed that list that displays all sites of a team was very slow.
To display that list, a lot of queries were used. With a couple of minor adjustments, I could reduce the number of queries needed to just a single one, solving the performance problem.
In this small blog post, I'd like to share one of the techniques I used.
– Edit
Povilas Korop of Laravel Daily made a cool video on the internals of our spatie/laravel-login-link package.
– arunas.dev - submitted by Arunas – Edit
You'll learn the difference between "tactical" and "strategic" programming, and why choosing the right approach is important in the long run.
Read more [arunas.dev]
– aaronfrancis.com – Edit
I wonder if Laravel should use this technique by default. It seems to have a major positive impact on performance.
Read more [aaronfrancis.com]