Everything on performance.
3 articles tagged performance — sorted newest first.
Processing large CSV files with Laravel's lazy collections
Loading a 100k-row CSV with `collect()` will blow your memory limit. Laravel's `LazyCollection` gives you the full Collection API backed by PHP generators — here's how to use it.
Fire HTTP requests after your response with Laravel 12's batch defer
Laravel 12.32 adds defer() to Http::batch() — a clean way to fire outbound HTTP calls after your response is sent, no queue worker required.
Stop Wasting Monitoring Quota: Block Malicious 404s with NGINX
Malicious bots were burning through my Laravel Nightwatch quota by hitting fake routes like /wp-login.php and /.env. Inspired by Michael Dyrynda’s approach using Cloudflare WAF, I built a portable NGINX blocklist that stops these 404s before they reach Laravel — no proxy required.