PHP 8.5 Is Here: The Pipe Operator, URI Extension, and More
PHP 8.5 brings a real pipe operator, a proper URI extension, clone with property overrides, and the NoDiscard attribute. Here is what matters for Laravel developers.
PHP 8.5 shipped on November 20, 2025, and it is one of the more interesting language releases in recent memory. After years of incremental type-system and performance work, this version adds genuinely new syntax that changes how you write everyday code. Here is what landed and what it means if you build on Laravel. The Pipe Operator The headline feature is the pipe operator, |>. It takes the value on the left and passes it as the single argument to the callable on the right, letting you chain transformations left to right instead of nesting them inside-out. // Before: read it from the inside out $result = array_sum(array_filter(array_map($fn, $items))); // After: read it top to bottom $result = $items |> fn ($x) => array_map($fn, $x) |> fn ($x) => array_filter($x) |> array_sum(...); If you have used collection pipelines in Laravel, the mental model is identical: data flows through a series of steps. The difference is that the pipe operator works on any value with any callable, not just...
PHP 8.5 brings a real pipe operator, a proper URI extension, clone with property overrides, and the NoDiscard attribute. Here is what matters for Laravel developers.
Form Requests do more than validate. These tips cover authorization, data prep, after hooks, and returning clean validated data your controllers will love.
A step-by-step guide to handling file uploads in Laravel and storing them on Amazon S3, including validation, private files, and temporary signed URLs.
Blade components are more powerful than most developers realize. These tricks cover attribute bags, named slots, props, and conditional rendering you will use daily.
Laravel 13.16.0 lands with a built-in artisan dev command, a smarter queue worker, and a foreignUuidFor migration helper. Here is what changed and why it matters.
Most foreach loops in a Laravel app can be replaced with a single, more readable collection method. Here are seven that will clean up your code today.
Laravel's event system is one of its most powerful architectural tools. This lesson explains events, listeners, queued listeners, event subscribers, and observers, and when to reach for each.
Laravel Scout makes adding full-text search to your app surprisingly straightforward. This tutorial covers installation, indexing, searching, filtering, and deploying with Meilisearch.
Laravel Cloud just shipped Scale-to-Zero Flex compute, 20x faster cold starts, and a new four-tier pricing structure. Here is what changed and what it means for your hosting bill.