proomt

Search

Search posts, papers, and topics

All posts

LaravelPaul Redmond5 min readintermediate

What We Know About Laravel 14

Summary

Laravel 14 (Q1 2027) raises the PHP minimum to 8.4 and adds several concrete API changes: a new `Route::query()` method, `$user->authorize()`, context support for `report()`, `Storage::fake()` for on‑demand disks, extended `whereKey*()` helpers, and fixes to queue‑pause signatures, non‑mutating `lazy()`/`chunk()`, array handling in `Cache::has/forget`, and `MassPrunable` soft‑delete behavior. The…

  • Laravel 14 requires PHP 8.4 (up from 8.3) due to Symfony 8.
  • `Route::query()` adds safe HTTP QUERY method support; CSRF treats it as read‑only.
  • `$user->authorize()` simplifies authorization checks by throwing on failure.
  • `report()` now accepts a context array for richer error reporting.

These changes tighten Laravel’s API consistency, improve developer ergonomics, and reduce subtle bugs (e.g., mutated builders, incorrect cache checks). The PHP 8.4 requirement aligns Laravel with the latest Symfony stack, ensuring long‑term security and performance. Understanding the breaking chang…

6/10

Related reading

  1. Laravel Scalpel Scans for Filesystem Intrusion Evidence

    Laravel Scalpel is a Laravel‑native scanner that looks for post‑deployment filesystem tampering – rogue PHP files, obfuscated backdoors, altered .htaccess/.user.ini, missing or mis‑configured .env, and diffs against a signed baseline. It ships with six built‑in scanners, baseline snapshot commands, fast vs strict hashing modes, CI‑friendly output (JSON, SARIF, GitHub annotations) and a ScanFinish…

    Laravellaravel-news.com5 min
  2. Laravel MCP 1.0 Is Released

    Laravel MCP 1.0 ships with the 2026-07-28 protocol, adding searchable tool catalogs, cache hints, stateless request handling, and PKCE‑required OAuth with client‑metadata support. The release includes migration guidance and new headers for versioned RPC calls.

    Laravellaravel-news.com3 minrelease
  3. Mercure Broadcasting in Laravel 13.32

    Laravel 13.32.0 adds a Mercure broadcast driver (SSE‑based real‑time), new FilesystemAdapter methods copyToDisk()/moveToDisk() for cross‑disk file moves, and enum support in Queue pause/resume APIs. Minor tweaks include default Cloud exit codes, collection return‑type fixes, and Mercure installer integration.

    Laravellaravel-news.com3 minrelease
  4. Laravel Vet: Review Composer Code Before It Installs

    Laravel Vet is a Composer plugin that intercepts installs/updates, shows the diff of each package, and lets you approve changes manually or via an LLM‑based coding agent. Trusted packages are recorded in a `vet.json` with a content hash, so future updates only prompt for new changes. The tool exits with an error on untrusted code, making it CI‑friendly, and works with any PHP project using Compos…

    Laravellaravel-news.com4 min