nativephp-mobile

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

1|Updated Aug 4, 2026
One-click install
npx skills add https://github.com/LaravelDaily/nativephp-larapackagehunt --skill nativephp-mobile-laraveldaily
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nativephp-mobile
Source: https://github.com/LaravelDaily/nativephp-larapackagehunt/tree/main/.agents/skills/nativephp-mobile
Command: npx skills add https://github.com/LaravelDaily/nativephp-larapackagehunt --skill nativephp-mobile-laraveldaily

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building truly native mobile apps normally requires Swift and Kotlin expertise, but this Skill lets PHP and Laravel developers create fully native iOS and Android apps (SwiftUI and Jetpack Compose UI) entirely in PHP, avoiding web-view wrappers and their performance and lifecycle issues. ## Core Features & Use Cases - SuperNative Screens: Scaffold NativeComponent screens with native:make, register them via Route::native(), and build UI from 40+ EDGE Blade elements (columns, buttons, lists, inputs, chrome elements like top-bar, bottom-nav, and fab). - Data Binding & Reactivity: Two-way binding with native:model, #[Computed], #[Poll], and #[On] attributes, plus nested child components with props, keys, and event bubbling. - Device APIs & Plugins: Access camera, biometrics, geolocation, push notifications, secure storage, and more through core facades and a four-step plugin registration flow. - Use Case: A Laravel developer wants to ship a mobile companion app for their SaaS product. Use this Skill to scaffold native screens, bind form state, add bottom navigation chrome, integrate the camera plugin, and test components in-process with Native::test() — no Swift or Kotlin required. ## 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 .env, run php artisan native:install, then scaffold screens with native:make and register them via Route::native(). Build UI with EDGE Blade components and compile with native:run ios or android.

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 like native:column, native:text, and native:button styled with Tailwind classes.

Does NativePHP Mobile work on Windows or Linux?

Windows and Linux can build Android apps only; iOS builds require macOS with Xcode 16 or later. WSL is not supported. Android builds need Android Studio 2024.2.1+ and SDK API 29+.

Why is my NativePHP plugin not working after composer require?

Installing with Composer alone does nothing; plugins require a four-step flow including php artisan native:plugin:register vendor/plugin-name. Verify registration with native:plugin:list, then rebuild with native:run.

Can I use Livewire or web views in NativePHP v4 apps?

Web views are a legacy escape hatch only; v4 screens must be NativeComponent classes rendering EDGE elements for real SwiftUI and Jetpack Compose UI. Existing Livewire or Inertia screens should be migrated to native components.

How do I test NativePHP mobile components without a device?

Use Native::test(Component::class) for in-process component tests with assertions like assertSee, tap, and assertSet. Scaffold tests with php artisan native:make-test and simulate device events with emitNative().