NativePHP bundles your entire Laravel app — PHP runtime and all — directly into a native iOS or Android shell.
No web server. No browser wrapper. No React Native. No Kotlin. Just your app, running natively on the device.
If you can write a Laravel app, you can ship a mobile app.
Zero context switching
Eloquent. Blade. Artisan. Queues.
Bring your own stack.
Everything you love about Laravel, now on mobile.
It's just Laravel
Routes, middleware, migrations, validation, events — the whole toolkit works because it IS Laravel.
SQLite built in
Migrations run on boot. The app works offline out of the box. No setup, no config.
Any frontend you like
Blade, Livewire, Inertia with React or Vue — bring whatever you already use.
The workflow
From code to device in seconds.
Three commands.
Everything you need to build, preview, and ship.
native:jump
Preview instantly on your phone — no simulator, no platform setup. Great for a first look.
native:watch
Edit your Blade templates or PHP and see changes live on the device. Just like vite dev, but native.
native:run & native:package
Build and run your app on iOS or Android, or produce a signed release build ready for the App Store.
From PHP
Camera. GPS. Biometrics. All from a facade.
Deep OS Integration.
Access native device capabilities without writing a single line of Swift or Kotlin.
Camera & video QR & barcode scanning Biometrics Secure storage Geolocation Microphone Push notifications Share sheets Network status File operations OAuth via browser Device info
Under the hood
Four layers. One composer require.
How it works.
Demystifying the magic behind the native shell.
01 Your Laravel app
Nothing special — any Laravel project with the nativephp/mobile package.
02 The NativePHP package
CLI tooling, PHP facades for native APIs, and native project scaffolding.
03 Embedded PHP 8.4
A custom PHP build compiled for mobile targets — ships inside your app bundle.
04 Native shell
Swift on iOS, Kotlin on Android. Boots your app, bridges native APIs, and handles the App Store packaging.
Best fit
Ship in a sprint, not a quarter.
Perfect for...
Where NativePHP shines the brightest.
Field tools
Inspections, inventory, approvals, forms — offline-first with camera and scanner built in.
Internal apps
We already know Laravel. No mobile team required. No separate codebase to maintain.
Companion apps
A native mobile face for an existing Laravel backend — sharing models, auth, and business logic.
Rapid prototypes
Prove the concept with real native hardware before committing to a full mobile rewrite.
v3 — right now
The best time to start is today.
Plugin architecture
Native capabilities are plugins — first-party and third-party. Extend without forking.
EDGE native UI
Define real native navigation — top bars, bottom tabs, side drawers — right from Blade.
Simpler distribution
No private Composer repo. No legacy setup steps. Much cleaner path from code to store.
The Ecosystem
Where did this come from?
NativePHP started as a way to build desktop apps with Laravel, and has now evolved to bring that same magic to mobile.
Who built this?
Two guys in the community doing some seriously heavy lifting.