Speeding up array_merge()
Here's why you should be carefull with array_merge in loops.
Read more [www.exakat.io]
Here's why you should be carefull with array_merge in loops.
Read more [www.exakat.io]
– aaronfrancis.com - submitted by Aaron Francis
A slight modification to traditional offset/limit pagination that can drastically boost performance.
Read more [aaronfrancis.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.
"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."
– itsrav.dev - submitted by Sourav R
Output Buffering is not so popular these days, but it is powerful. with simple vintage OB technique I made a real-time payment process UI
Read more [itsrav.dev]
Here's a nice way to go about filtering Carbon instances
Read more [tomerbe.co.uk]
– chriswhite.is - submitted by Chris White
Choosing between Swoole and Roadrunner in a Laravel Octane deployment can be overwhelming - in this post I compare the advantages and disadvantages of both.
Read more [chriswhite.is]
By thinking outside of the box, you can often get much faster database performance by splitting values across multiple database columns.
Read more [downing.tech]
– aaronfrancis.com - submitted by Aaron Francis
A clever use of MySQL indexes and generated columns to make blazing fast geolocation searches.
Read more [aaronfrancis.com]
Here are a few best practices for working with a large tables.
Read more [42coders.com]
– timacdonald.me - submitted by Tim Mac
Introduce lazy loading to an existing application without interrupting flow or overwhelming your logs
Read more [timacdonald.me]
Oh Dear is all-in-one solution to monitor your site that my buddy Mattias Geniar and I have created. It can monitoring uptime, certificates, broken links, scheduled jobs, and much more.
Under the hood, Oh Dear is a large Laravel application that performs many queries all of the time. To power future features, we've recently changed our database structure and refactored some pieces in our code base. We increased performance by decreasing the number of queries.
In this blog post, we'd like to to share some techniques that might be helpfull to increase the performance of your Laravel app too.
– doeken.org - submitted by Doeke Norg
Yield better results by iterating over generators. Learn more about these supercharged arrays that can preserve memory.
Read more [doeken.org]
Sebastian made a pretty interesting package to self host Google Fonts
Read more [sebastiandedeyne.com]
In this article Lennart Carstens-Behrens explains a very impressive PR he recently submitted at the Laravel repo.
Read more [lennartcb.me]
Matt Stauffer on how to minimize Vue's impact on the Core Web Vitals?
Read more [mattstauffer.com]
Mohamed shows how you can deal with N+1 problems using the $with model attribute and the newly added Model::preventLazyLoading() method.
Benjamin Eberlei tells the story of a performance mistake that is quickly made even by experienced developers.
Read more [tideways.com]
Tobias explains how you can make this operation very fast even if your table has several million records.
Read more [tpetry.me]
– www.laravel-enlightn.com - submitted by Paras Malhotra
An in-depth guide on offset and cursor pagination in Laravel, and the pros and cons of each.
Read more [www.laravel-enlightn.com]
Our team released a new package called spatie/fork. Using this package you can easily execute multiple pieces of code concurrently.
PHP has several over 30 functions at the moment that make use of special OPCodes or otherwise inlined to improve performance.
Read more [php.watch]