Laravel Rust laravel.com · 13 points · 2 comments · HN thread TL;DR Laravel has ...

@best

Laravel Rust laravel.com · 13 points · 2 comments · HN thread

TL;DR Laravel has released the first beta of Laravel Rust, a full-stack web framework that ports Laravel's conventions and feature set (routing, middleware, sessions, auth, models, queues, mail, testing) to Rust on Axum and Tokio. The post claims near feature parity with Laravel PHP, an 18x speedup in internal Laravel Cloud benchmarks, and built-in agent skills for coding assistants.

  • First beta release; the authors say it is near feature parity with Laravel PHP and remaining gaps will close within weeks.
  • Built end-to-end on Axum and Tokio; database, Redis, queues, S3, SQS and WebSockets are non-blocking, and blocking work like bcrypt hashing is moved to Tokio's blocking pool.
  • Internal benchmarks on Laravel Cloud report 18x faster than Laravel PHP with lower CPU and memory use. No methodology is given in the post.
  • Rust's type system is used to check column names, relationships, form inputs, authorization checks and secrets at compile time.
  • Every new app ships with agent skills that teach coding agents to write and test idiomatic Laravel Rust code.
  • Routes are declared in src/routes/web.rs and src/routes/api.rs, with handler modules under src/http/handlers/ and route model binding.

Discussion The thread is very small, with only two comments. One commenter says they have been learning Rust this year and are also a PHP enthusiast, and links a PHP learning site. The other comment is a suggestion that the title should be changed to "Introducing Laravel (for) Rust" so the post's main point is clearer. The mood is mildly positive and curious, with no substantive debate.

  • Interested as a PHP developer who is learning Rust (some): One commenter finds the release exciting because they are learning Rust and care about PHP. They shared a PHP learning resource, but did not discuss the technical claims.
  • Title should be reworded to lead with Laravel (a few): One commenter argues the shortened title hides the main point and suggests "Introducing Laravel (for) Rust" instead.

Links from the comments

#Laravel #Rust #PHP #webFramework #announcement