Laravel Rust beta is out · learn it from day one

Learn Rust.
Then build the web.

A friendly path from your very first line of code to real web apps with Laravel Rust. Short lessons, one café-sized example, zero experience needed.

$ cargo new rusty_bean
Lessons
35 lessons
Reading time
7 h of reading
Parts
2 parts
Price
Free, no sign-up
Part 1 · Rust · 19 lessons
fn main() {
    let cafe = "Rusty Bean Café";
    let cups_today = 42;

    println!("Welcome to {cafe}!");
    println!("We served {cups_today} cups today.");
}

$ cargo run

Welcome to Rusty Bean Café!
We served 42 cups today.

Your progress0%

Taught step by step · 35 lessons across two parts

  • Cargo
  • Variables
  • Data types
  • Functions
  • Control flow
  • Ownership
  • Borrowing
  • Structs
  • Enums & match
  • Option & Result
  • Vec & HashMap
  • Error handling
  • Traits
  • Generics
  • Closures
  • Iterators
  • Modules & crates
  • Macros
  • async / await
  • Tokio
  • Laravel Rust
  • Project structure
  • Routing
  • Handlers
  • Route model binding
  • Migrations
  • Models
  • Relationships
  • Queries
  • Typed validation
  • Forms
  • Raw SQL
  • Async tasks
  • Queued jobs
  • Workflows
  • Mail
  • Broadcasting
  • Inertia
  • Testing
  • Capstone app

How the course works

One small idea.
Then the next one.

Every lesson is a short read with code you type yourself, a quick exercise and a recap. Ideas build on each other in a straight line, so you are never asked to use something you have not met yet.

  1. 01 Read a short lesson

    Each lesson explains one idea in plain English, with everyday analogies and no jargon left unexplained.

    ~10 min each

  2. 02 Type the code

    Small, complete examples you can run. One project grows with you: the Rusty Bean Café.

    One running example

  3. 03 Try it yourself

    Every lesson ends with a small exercise and a recap. Solutions stay hidden until you want them.

    Solutions included

  4. 04 Track your progress

    Mark lessons complete and pick up right where you left off. Saved in your browser, no sign-up.

    No account needed

The curriculum

Rust first.
Then Laravel Rust.

Part 1 teaches Rust from the ground up. Part 2 puts it to work: you build the Rusty Bean Café ordering site with Laravel Rust, from the first route to queued jobs and tests.

Why this course

Why Rust?
Why Laravel Rust?

Rust gives you speed and safety without a garbage collector. Laravel Rust brings the joy of Laravel to that foundation. Learning both, in order, is the shortest path from beginner to shipping fast, reliable web apps.

Rust

  • Fast, without the fuss

    Rust compiles to native code and runs as fast as C and C++, with no garbage collector pausing your app.

  • Safe by design

    Ownership and borrowing rules stop whole families of bugs, like using memory after it is freed, before your program ever runs.

  • A compiler that teaches

    Rust’s error messages explain what went wrong and often suggest the fix. It is like pair programming with a patient expert.

  • Loved by developers

    Rust has been one of the most admired languages in developer surveys for years, and it powers tools you already use every day.

Laravel Rust

18×

faster than Laravel PHP, in Laravel’s own internal benchmarks on Laravel Cloud.

  • Laravel, reimagined in Rust

    The full-stack philosophy and feature set of Laravel in idiomatic Rust, built end-to-end on Axum and Tokio.

  • Checked before it runs

    Routes, database columns, relationships and validated form inputs are checked at compile time, so a typo becomes a compiler error instead of a bug in production.

  • Brand new, learn it early

    The beta was announced on December 1, 2026. Learn it from day one, alongside everyone else.

Read Laravel’s announcement (opens in new tab)

Questions

Still unsure? Start with lesson 1. It takes about ten minutes and needs nothing installed.

Is FirstCrate free?

Yes. Every lesson is free to read, and there is no account to create. Your progress is saved in your own browser.

Do I need to know how to program already?

No. Part 1 starts from zero: what a programming language is, how to install Rust and how to write your first program. Every new term is explained the first time it shows up.

Do I need to know Laravel or PHP?

No. Knowing Laravel helps, but Part 2 explains each Laravel idea (routes, models, migrations, queues) as if you have never seen it before.

What do I need installed?

A computer running Windows, macOS or Linux, a code editor you like, and a terminal. The second lesson walks you through installing Rust step by step.

Laravel Rust is in beta. Is it too early to learn?

It is a great time to start. Beta means some details may still change, so Part 2 links the official documentation and sticks to what Laravel has published. Everything you learn about Rust in Part 1 carries over either way.

How is my progress saved?

In your browser’s local storage, on this device only. Clearing your browser data resets it. Nothing is sent to a server.

Your first crate,
in three steps.

One terminal, three commands, and you have a running Rust program. Lesson 2 walks you through every step, including installing Rust on Windows.

  1. 01

    Install Rust

    Use rustup, the official installer, on macOS or Linux. Windows users download rustup-init.exe instead.

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  2. 02

    Create a project

    Cargo, Rust’s build tool, sets up a new project folder for you.

    cargo new rusty_bean
  3. 03

    Run it

    Compile and run in one command. Rust says hello back.

    cd rusty_bean && cargo run

~/rusty_bean

$ cargo new rusty_bean
    Creating binary (application) `rusty_bean` package
note: see more `Cargo.toml` keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
$ cd rusty_bean && cargo run
   Compiling rusty_bean v0.1.0 (~/rusty_bean)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s
     Running `target/debug/rusty_bean`
Hello, world!

Search lessons

Type to search all lessons.