nativephp-mobile

Builds native iOS and Android apps with PHP, Laravel, and EDGE Blade components.

Updated Sep 10, 2026
One-click install
npx skills add https://github.com/alemamdevs/expense-tracker --skill nativephp-mobile-alemamdevs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nativephp-mobile
Source: https://github.com/alemamdevs/expense-tracker/tree/main/.agents/skills/nativephp-mobile
Command: npx skills add https://github.com/alemamdevs/expense-tracker --skill nativephp-mobile-alemamdevs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building native mobile apps normally requires Swift and Kotlin expertise, but this Skill lets PHP and Laravel developers create fully native iOS and Android applications using familiar tools, eliminating the need to learn platform-specific languages or manage web-view wrappers. ## Core Features & Use Cases - Native UI with EDGE Components: Build screens as NativeComponent PHP classes rendering 40+ native Blade elements (columns, buttons, lists, top-bars, bottom-navs) compiled to SwiftUI and Jetpack Compose. - Device API Access: Use camera, biometrics, geolocation, push notifications, secure storage, and dialogs through PHP facades and installable plugins. - Testing & Tooling: Run in-process component tests with Native::test(), scaffold screens with native:make, and manage builds via native:run, native:watch, and native:jump. - Use Case: A Laravel team wants to ship a mobile companion app for their SaaS product. They scaffold screens with native:make, bind data with native:model, add a bottom-nav with typed icon enums, and test everything without a simulator. ## Quick Start Ask the AI to scaffold a new NativePHP mobile screen with native:make, register it with Route::native, and build the UI using EDGE components like native:column and native:button.

Frequently Asked Questions about nativephp-mobile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a native mobile app with PHP and Laravel?

Install nativephp/mobile via Composer, set NATIVEPHP_APP_ID in your .env, then run php artisan native:install. Scaffold screens with php artisan native:make, register them with Route::native(), and build UI using EDGE Blade components like native:column and native:button.

How do I create screens in NativePHP Mobile v4?

Run php artisan native:make ScreenName to scaffold a NativeComponent class, then register it with Route::native('/path', ScreenName::class). Build the view with EDGE elements and bind data using native:model on public properties.

Does NativePHP Mobile use a web view for its UI?

No, NativePHP Mobile v4 renders truly native UI: SwiftUI on iOS and Jetpack Compose on Android, driven by PHP component classes. The web view exists only as a legacy escape hatch via native:web-view for embedding web content.

Can I build iOS apps with NativePHP on Windows or Linux?

No, iOS builds require macOS with Xcode 16 or later. Windows and Linux machines can only build Android apps, and WSL is not supported for NativePHP development.

Why is my NativePHP plugin not working after composer install?

Installing a plugin with Composer alone does nothing; you must also run php artisan native:plugin:register vendor/plugin-name to add it to NativeServiceProvider. Verify registration with php artisan native:plugin:list, then rebuild with native:run.

How do I seed the database in a NativePHP mobile app?

Seeding must go through migrations because db:seed never runs on device. Create a dedicated migration with inserts in its up() method, optionally calling a Seeder class from it; migrations run automatically on every app start.