NativePHP Kitchen Sink: A Laravel-Powered Mobile Playground
The NativePHP Kitchen Sink is a fully featured mobile demonstration app that shows just how far you can push Laravel — not on the web, but on your phone.
Built using NativePHP Mobile, this app runs a complete Laravel backend directly inside an Android or iOS app, without needing React Native, Flutter, or any other frontend framework. The Kitchen Sink is here to prove a simple but powerful truth: if it works in Laravel, it can work on your phone.
Whether you're testing native features, learning how NativePHP works, or building a new app from scratch, the Kitchen Sink gives you a solid, ready-to-use playground to explore.
Why It Exists
Mobile development has long meant one thing: switching stacks. If you're a Laravel developer and you wanted to build a native mobile app, you had to learn Swift, Kotlin, or JavaScript. You had to rebuild your app’s logic, rethink your database access, reimplement authentication flows, and somehow sync your APIs and UI.
NativePHP changes all of that.
It lets Laravel developers build real native mobile apps using the same Laravel codebase they already know. The Kitchen Sink is the proof-of-concept made real — it bundles a Laravel app directly into a native shell, powered by a custom-compiled PHP runtime that speaks directly to Android and iOS.
The result? One codebase. One backend. One skillset. And full access to native features — all from PHP.
What’s Inside
The Kitchen Sink is more than just a demo — it's a living catalog of everything NativePHP can do today, and a testing ground for the features coming tomorrow.
Here’s a look at what it includes out of the box:
Biometric Authentication
Secure users with Face ID or fingerprint scans — triggered from PHP using simple Laravel logic.
Camera Access
Open the native camera app, snap photos, and upload them directly to Laravel routes for processing.
Push Notifications
Send and receive push notifications, both locally and remotely, with full control over tap actions and background handling.
Toasts, Alerts, Vibration
Trigger native UI actions like snackbars, alerts, and vibration feedback with clean, readable PHP calls.
File Picker and Storage
Select files and photos from the device, upload them to your Laravel app, and save them just like you would on the web.
Share Sheets
Open the system share dialog from Laravel, letting users share content to apps like Messages, WhatsApp, Slack, and more.
Deep Linking
Handle incoming links that launch your app into specific views — all managed through Laravel routing.
Session and Auth Persistence
NativePHP maintains full session state between requests. Cookies, CSRF tokens, and authentication persist just like in a browser.
Livewire + Inertia Support
You can use Livewire or Inertia to drive dynamic interactions, even though you're not in a browser. PHP handles the logic; NativePHP handles the view.
Built With Real Laravel
The Laravel app bundled into the Kitchen Sink is just that: a real Laravel app. It uses all the normal features of Laravel:
Routes in web.php
Controllers and middleware
Blade templates
Livewire components
Eloquent models and migrations
Config files, .env, service providers — the works
When the app boots, NativePHP starts the embedded PHP runtime, executes a request to Laravel, and pipes the output to a WebView. From there, interactions — form submits, clicks, Livewire actions — are captured and routed back into Laravel, and the response is re-rendered.
To Laravel, it's just another request. To your users, it's a native app.