Saturday, December 05, 2026

Laravel: PHP => Rust, Go

this is likely thanks to AI Agents... likely great improvement in speed and security

Introducing Laravel Rust | Laravel Blog

Laravel Rust is in beta (announced Dec 1, 2026 by Taylor Otwell), bringing Laravel's full-stack conventions and near feature parity with Laravel PHP to idiomatic Rust. Rather than a simple port, it is built for high performance and AI-assisted development, shipping with built-in agent skills for coding agents.

Key Highlights

  • Performance & Async Stack: Built on Axum and Tokio with non-blocking I/O and blocking tasks offloaded to a thread pool; internal benchmarks on Laravel Cloud show it running 18x faster than Laravel PHP with lower CPU and memory usage.

  • Compile-Time Safety: Routes, model relationships, authorization rules, validated input structs (#[laravel::input]), and parameterized db::query! SQL captures are verified at compile time to catch errors and prevent SQL injection or mass-assignment bugs early.

  • Full-Stack Features: Includes route model binding, schema builder and compiled migrations, laravel::task concurrency helpers and shutdown ticks, queued jobs (#[job]), and durable workflows (#[workflow]) that sleep or wait on external events across restarts without tying up workers.

  • Frontend & Realtime: Supports Inertia (React, Vue, Svelte) with live and deferred props, server-side views, transactional mail, and event broadcasting with a built-in Rust Reverb WebSocket server.

  • Ops & Testing: Comes with automatic OpenTelemetry tracing, social login, feature flags, isolated #[laravel::test] full-stack testing, and scaffolding via laravel new example-app --rust (see the Laravel Rust documentation).

Introducing Laravel Go | Laravel Blog

Taylor Otwell's December 2, 2026 blog post announces the first beta of Laravel Go, bringing Laravel's full-stack conventions to idiomatic Go.

Highlights

  • Idiomatic & Standard Go: Built directly on Go's net/http and goroutines with explicit context.Context flow and startup service wiring (services/services.go) rather than a dynamic container or copied Laravel Rust / Laravel PHP syntax. It favors fast compile times, lower disk usage, clear guardrails for humans and coding agents (including built-in agent skills), and real-world throughput close to Laravel Rust.

  • Core Web & Data Stack: Features routing in routes/web.go and routes/api.go, route model binding, compile-checked form validation (r.Validate[T](), validation.Sometimes[T]), typed models with explicit With(...) eager loading, and compiled Go migrations using a schema builder across PostgreSQL, MySQL, MariaDB, and SQLite.

  • Async, Realtime & Frontend: Includes task.Run (with error cancellation and panic recovery), r.Background, recurring Ticks, queued jobs (queue.Dispatch) with queue:"model" reloading, and durable workflow.Run flows. Also ships typed mailables (Resend, Amazon SES), a Go Reverb WebSocket server with Laravel Echo, and Inertia (React, Vue, Svelte) plus compiled server-rendered views.

  • Ops, Testing & Setup: Provides automatic OpenTelemetry tracing, OAuth social login, feature flags, <head> metadata, and isolated tests.New(t) test clients. Scaffold apps via laravel new example-app --go (see the installation guide and Laravel Go documentation) and deploy a binary or push to Laravel Cloud.

The Laravel You Know, Written in Rust - YouTube

 It's not for you! - YouTube by  Maximilian Schwarzmüller

This video explores the release of Laravel Rust by Taylor Otwell, positioning it as the future of the Laravel ecosystem specifically designed for AI agents rather than human developers (-).

Key takeaways:

  • Agent-Centric Design: While Laravel for PHP remains fully supported and maintained, Laravel Rust prioritizes the requirements of coding agents, emphasizing clear architectural rules and high-quality foundation (-).
  • Performance & Safety: By leveraging the Rust language, the new framework provides superior performance and memory safety, which are critical as our interaction with coding tools shifts from writing code to directing agents (-).
  • Developer Role Shift: The video argues that the importance of syntax readability is declining; instead, developers should focus on systems design, architectural decision-making, and prompting agents to effectively use powerful, standardized frameworks (-)