Welcome to HowToShipIt — practical how-to guides for developers: code, AI tools, and servers, explained step by step.

GitHub Actions for Laravel: Build a CI Pipeline That Catches Breakage (2026)

If you deploy a Laravel app by SSH-ing into your VPS and running git pull by hand, you already know the failure mode: the deploy that worked on your laptop breaks in production, and you find out from a user, not from your tooling. A GitHub Actions Laravel CI pipeline fixes that by running the … Read more

CVE-2026-114509: The Laravel TokenGuard Auth Bypass — Are You Actually Affected? (2026)

CVE-2026-114509 Laravel TokenGuard auth bypass security triage

CVE-2026-114509 at a glance CVE-2026-114509 is a critical authentication bypass in Laravel’s built-in TokenGuard, rated CVSS 9.2 (Critical, CVSS 4.0). An unauthenticated attacker can submit a crafted non-string credential that, on certain MySQL or MariaDB configurations, matches an unintended user record — authenticating as another user without ever knowing a valid API token. The issue … Read more

Laravel 13.38: Stop Serving Your Users Stale Reads (2026)

Laravel 13.38 database replica sync illustration

You know the bug. A user updates their profile, hits save, the page reloads — and shows the old data. They refresh. Still old. Thirty seconds later it’s correct, and your support inbox has a new message: “your site is broken.” If you read from database replicas, that bug has a name: replica lag. The … Read more

Laravel Rate Limiting: Stop Abuse Before It Starts (2026)

Laravel rate limiting — throttle middleware and named rate limiters, 2026 guide

Why rate limiting is the cheapest security you will ever add Every public endpoint on your Laravel app is an invitation. Login forms invite credential stuffing, password-reset routes invite account enumeration, and any JSON API invites the scraper with a for-loop and a weekend to kill. Laravel rate limiting is the framework’s built-in answer: a … Read more

How to Speed Up Laravel Queries: 10 Fixes to Try Before You Upgrade Your Server (2026)

How to speed up Laravel queries — database query optimization checklist (2026)

If your Laravel app feels slow, your instinct is probably wrong. It’s not the framework, it’s not PHP, and it’s almost certainly not your server plan. Nine times out of ten, it’s your queries: too many of them, too slow, or both. The good news is that query slowness is the most fixable kind of … Read more

PHP 8.6 Ships 19 November — and PHP 8.2 Dies 31 December: The Upgrade Checklist

PHP 8.6 upgrade checklist: release timeline, new features, and the PHP 8.2 end of life deadline

Two PHP deadlines, six weeks apart PHP 8.6 has two dates with your name on them. The first is 19 November 2026, when PHP 8.6 goes stable — release candidate 4 lands this Thursday, 22 October, and with the hard feature freeze already behind us there is nothing left to add, only bugs to fix. … Read more

Docker Multi-Stage Builds: Shrink Your Laravel Image (2026)

Docker multi-stage builds: 3-stage Laravel Dockerfile with composer, Node and PHP-FPM stages

Docker Multi-Stage Builds: Shrink Your Laravel Image (2026) If your production Docker image is pushing a gigabyte, the problem usually isn’t your application — it’s everything you shipped around it. Composer’s dev dependencies, the entire Node.js toolchain you used to compile your frontend assets, C compilers and header files: none of that needs to exist … Read more

How to Build a Laravel MCP Server: Complete Guide (2026)

How to build a Laravel MCP server with the first-party laravel/mcp package

You have probably pasted your database schema, your API routes, or a chunk of logs into an AI chat window at some point and watched it go stale the moment you ran the next migration. The Model Context Protocol (MCP) fixes that problem at the root: it is an open standard that lets AI clients … Read more

Laravel Sanctum Setup: Complete Auth Guide (2026)

Laravel Sanctum setup guide: API tokens and SPA authentication illustration

What Laravel Sanctum actually is Laravel Sanctum setup is the framework’s lightweight answer to a question every backend developer eventually asks: how do I let clients authenticate against my API without building a whole OAuth2 server? Sanctum solves two problems, and it is worth naming them separately, because most tutorials mash them together. First, API … Read more

How to Run Laravel Queue Workers in Production with Supervisor (2026)

Laravel queue workers running under Supervisor on a production server

How to Run Laravel Queue Workers in Production with Supervisor (2026) Last verified: 8 October 2026 against the official Laravel 12.x queue documentation. On your laptop, running Laravel queue workers is easy: you open a terminal tab, run php artisan queue:work, and forget about it. On a production server there is no terminal tab. A … Read more