Read Blogs

Laravel Just Got Eloquent-Style Queries for Elasticsearch. I Tried Replacing My Raw DSL With It

How Elastic Bridge brings familiar query-builder syntax to Elasticsearch and OpenSearch — and where it still falls short of hand-written queries for complex AI search. A hotel search endpoint, the version most Laravel-plus-Elasticsearch codebases actually have: a PHP array shaped like Elasticsearch’s JSON DSL, nested… Read More »Laravel Just Got Eloquent-Style Queries for Elasticsearch. I Tried Replacing My Raw DSL With It

Laravel Finally Has a Real Vector Type. Here’s What AsVector Actually Casts For You

How the new Eloquent cast turns embedding columns into typed float arrays — and what it still doesn’t do for you at the model layer. $document->embedding = $vector; $document->save(); throws SQLSTATE[HY000]: General error: 1292 Incorrect vector value, on MariaDB, for a value that’s a perfectly… Read More »Laravel Finally Has a Real Vector Type. Here’s What AsVector Actually Casts For You

How JavaScript Works: The Call Stack, Event Loop, and Microtask Queue Finally Explained With Code You Can Run Right Now

The question every senior JavaScript interview asks and half the answers get wrong. Stack frames, Web APIs, the task queue, the microtask queue, why Promises resolve before setTimeout, requestAnimationFrame timing, and the exact execution order that surprises even experienced developers — with runnable examples for… Read More »How JavaScript Works: The Call Stack, Event Loop, and Microtask Queue Finally Explained With Code You Can Run Right Now

Laravel Collections in 2026: The Methods You Are Not Using That Will Cut Your Code in Half

chunkBy() just landed in Laravel 13.30. lazy(), groupBy(), partition(), mapWithKeys(), whenNotEmpty(), tap(), pipe(), and the new memoized tagged cache — a complete tour of the Collection methods that experienced Laravel developers reach for and new developers keep reinventing with foreach loops. A PR review comment,… Read More »Laravel Collections in 2026: The Methods You Are Not Using That Will Cut Your Code in Half

Laravel’s AI SDK Just Made MCP Mandatory. Here’s What That Actually Breaks

Why v0.11.2 requires laravel/mcp for agent tools now, what changes in your existing agent code, and whether 7.4M installs means you can trust it in production. composer require laravel/ai alone, on v0.11.2, does not install laravel/mcp. That’s worth stating precisely before anything else, because “mandatory”… Read More »Laravel’s AI SDK Just Made MCP Mandatory. Here’s What That Actually Breaks

Laravel Just Shipped Native Vector Search for MariaDB. If You’re on MySQL, You’re Locked Out

What the new native vector search actually supports, why plain MySQL got skipped, and the workaround I’m using until it catches up. whereVectorSimilarTo() on a MySQL connection throws a RuntimeException. It always has, since these methods first shipped, and — as of the PR that… Read More »Laravel Just Shipped Native Vector Search for MariaDB. If You’re on MySQL, You’re Locked Out