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

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

npm SlugFest: How 1,500 Packages Were Open to Takeover — Check Yours (2026)

npm SlugFest supply-chain takeover flaw: a hand reaching for a package box beside a broken lock

Trusted publishing was supposed to be the safe way to release npm packages. No long-lived token sitting in a CI secret store waiting to leak — just a short-lived credential minted at release time. On 13 October 2026, researchers at Bloom Security showed it could be abused anyway. They found more than 1,500 npm packages, … Read more

Laravel 13.36 Validation Rules: Fluent Rule:: Builders for Everything (2026)

Laravel 13.36 validation rules: fluent Rule builders illustration

Laravel 13.36’s headline change is validation. You have written ‘required_without:phone’ a hundred times. You have also, at least once, typed ‘require_without:phone’ and only discovered it when a real request hit your endpoint — because validation strings only fail at runtime. Your IDE cannot autocomplete them, your refactoring tools cannot see them, and a comma in … 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

curl Security Update: Patch Every Copy in Your Stack (8.23.0, 2026)

curl security update 8.23.0 — patch every copy of curl and libcurl in your stack

Last verified: October 14, 2026. This guide covers curl 8.23.0, released today. The curl security update you should be installing right now is curl 8.23.0, released October 14, 2026. It fixes 24 security vulnerabilities, including one the curl project itself rates HIGH — its first High-severity flaw since the SOCKS5 heap overflow of October 2023. … Read more

Python 3.15: What’s New and What to Do About It (2026 Guide)

Python 3.15 new features: lazy imports, frozendict, and UTF-8 default encoding guide illustration

Python 3.15 landed on 9 October 2026, and it is the kind of release you actually feel: 5,643 commits from 1,012 contributors, release-managed by Hugo van Kemenade, with a headline feature — explicit lazy imports — that can make your CLI tools and serverless functions start noticeably faster. This guide covers what is new in … 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