RepoJournal
Laravel

@laravel

PHP's most popular framework — Forge, Vapor, and a massive paying audience

Pick a date

The Wire · Showcase

LARAVEL AI OVERHAULS TYPE SAFETY AND GATEWAY CONTRACTS

By RepoJournal · Filed · About Laravel

Laravel AI v0.9.0 ships native Anthropic structured outputs and strips away redundant gateway boilerplate that's been slowing down provider implementations for months.

The AI package dropped v0.9.0 [1] with missing return type generics now baked into embeddings and reranking responses, plus the ability to disable embeddings cache per request. More significantly, the team killed the TextGateway contract entirely [2] [3], collapsing duplicate forwarding logic that every provider gateway was forced to carry. The multi-step text generation API now lives exclusively in TextGenerationLoop, with FakeTextGateway emitting ToolCall stream events to match real provider behavior. Framework keeps pace with v13.19.0 [6] adding first-party image processing [7] with a driver-based immutable API that optimizes uploads from 2.1 MB down to 75.8 KB in one call, plus new QueueFake hooks [8] letting you manipulate time between job dispatches in tests. v12.63.0 [5] handles lost database connections more gracefully and guards JsonSchema deserializers against unbounded $ref expansion attacks. The TextGateway removal needs documented [4], and you'll want to read the upgrade guide carefully if you're running custom provider implementations.

Action items

References

  1. [1] v0.9.0 ↗ laravel/ai
  2. [2] Remove TextGateway contract in favor of StepTextGateway ↗ laravel/ai
  3. [3] Remove TextGateway contract in favor of StepTextGateway (#743) laravel/ai
  4. [4] Document TextGateway removal in upgrade guide ↗ laravel/ai
  5. [5] v12.63.0 ↗ laravel/framework
  6. [6] v13.19.0 ↗ laravel/framework
  7. [7] [13.x] Adds first-party support for `image` processing ↗ laravel/framework
  8. [8] [13.x] `beforePushing` and `afterPushing` methods on `QueueFake` class ↗ laravel/framework

FAQ

What changed in Laravel on July 8, 2026?
Laravel AI v0.9.0 ships native Anthropic structured outputs and strips away redundant gateway boilerplate that's been slowing down provider implementations for months.
What should Laravel teams do about it?
Upgrade laravel/ai to v0.9.0 and review the TextGateway removal in your custom provider gateways • Update to Framework v13.19.0 to unlock first-party image processing and QueueFake test helpers • Patch Framework v12.63.0 for JsonSchema security hardening
Which Laravel repositories shipped on July 8, 2026?
laravel/ai, laravel/framework

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.