Skip to main content

What is Kit?

Kit is a Laravel-inspired web framework for Rust that combines:
  • Laravel’s DX - Familiar patterns like controllers, routes, middleware, and Eloquent-style models
  • Rust’s Performance - Native speed with zero-cost abstractions
  • Type Safety - Catch errors at compile time, not runtime
  • Modern Frontend - First-class Inertia.js + React integration

Quick Start

Get started in under 5 minutes:

Quickstart Guide

Create your first Kit application step by step.

Core Features

Tutorials

Learn by building:

Why Kit?

FeatureBenefit
Familiar PatternsIf you know Laravel, you’ll feel at home
Compile-Time SafetyCatch bugs before they reach production
Native PerformanceRust’s speed without the complexity
Full-StackBackend + React frontend in one project
Code GenerationCLI tools to scaffold common patterns

Example

A simple controller in Kit:
use kit::{Request, Response, json_response};

pub async fn index(_req: Request) -> Response {
    json_response!({
        "message": "Hello from Kit!"
    })
}
With Inertia for a full-stack experience:
use kit::{Request, Response, inertia_response, InertiaProps};

#[derive(InertiaProps)]
pub struct HomeProps {
    pub title: String,
}

pub async fn index(_req: Request) -> Response {
    inertia_response!("Home", HomeProps {
        title: "Welcome to Kit!".to_string(),
    })
}

Get Started

Installation

Install Kit and create your first project.