Meet Lairport
Lairport lets you ship native iOS and Android apps from your Laravel Rust and Inertia application. Your Inertia pages run inside a small Tauri v2 shell on the phone, so there’s no second frontend to build and no separate mobile API to maintain. We handle the Xcode projects, the Gradle files, and the platform quirks, so you can focus on building your app.
Getting your application onto a phone takes two commands:
laravel-mobile init
laravel-mobile devWhy Lairport?
There are plenty of ways to build a mobile app. However, if you have already built your application with Laravel Rust and Inertia, we believe this is the most productive one.
Keep Your Inertia Frontend
Your React or Vue pages, Tailwind styles, and Inertia routing work on the phone exactly as they do in the browser. Every page renders in the platform’s own WebView, and your controllers, validation, and sessions stay exactly where they are.
Stay in Rust
The mobile shell is just another crate in your Cargo workspace. When a screen truly needs to be native, you may drop down to Swift or Kotlin in a Tauri plugin, without leaving the workspace.
Share Real Code
Validation rules, domain types, and encryption helpers can live in crates/shared, which compiles into both your server and your app. Write the rule once, and enforce it everywhere.
Configure, Don’t Code
Your app’s name, icon, permissions, plugins, and tabs all live in a single mobile.toml file. Adding the camera or Face ID is a one-line change, not an afternoon in Xcode.
How It Fits Together
laravel-mobile init leaves your application exactly where it is and adds mobile beside it:
my-app/
├── Cargo.toml # your app, plus the [workspace] init adds
├── mobile.toml # your mobile configuration
├── src/ # your Laravel Rust server, unchanged
├── resources/js/ # your Inertia frontend, unchanged
├── apps/mobile/ # the Tauri v2 shell for iOS and Android
├── crates/shared/ # Rust your server and app share
└── vendor/ # laravel-rust-mobile, until it is on crates.ioThe directory structure documentation explains each of these in detail.
Next Steps
Now that you’ve met Lairport, you’re probably eager to see your app on a phone. We recommend reading the following documentation, in order:
Installation
Install the CLI and open your app on your phone. Get started.
Configuration
Every mobile.toml option and its default. Configure your app.
Building Your App
Build for the simulator, a device, or the stores. Build your app.
Status and Roadmap
What works today, and what’s coming next. Read the roadmap.