What's Hot
Browsing: Laravel
How to deploy Laravel to your own VPS without a maintenance window: the releases, shared and current layout, a complete Bash deploy script with an atomic symlink switch, Nginx and OPcache settings that follow the new release, Supervisor queue workers and php artisan reload, backward-compatible migrations, health checks, one-command rollbacks, a GitHub Actions trigger and the Deployer 8 alternative.
A practical guide to the Laravel N+1 query problem: what it looks like in a Blade loop, how to catch it with preventLazyLoading, Laravel Debugbar, a query-counting middleware and expectsDatabaseQueryCount tests, and how to fix it with with(), nested and constrained eager loads, withCount, loadMissing, chaperone() and automatic eager loading.
