laraveldaily/mobile-reactnative-flutter-nativephp-course-demo/nativephp-mobile
Claude Code and agent skill by laraveldaily/mobile-reactnative-flutter-nativephp-course-demo
- community
Checking that the SKILL.md file is still in the repository.
Builds native iOS and Android apps with PHP & Larvel. Activate when using native device APIs (camera, dialog, biometrics, scanner, geolocation, push notifications), EDGE components (bottom-nav, top-bar, side-nav), `#nativephp` JavaScript imports, native mobile events, NativePHP Artisan commands (native:run, native:install, native:watch), deep links, secure storage, or mobile app deployment.
Install
npx vskill@latest install laraveldaily/mobile-reactnative-flutter-nativephp-course-demo/nativephp-mobileSKILL.md
NativePHP Mobile v3
Documentation
Before implementing any feature, fetch the relevant docs using WebFetch. Find the right URL in references/available-docs.md.
Build Commands — Tell the User, Don't Run
Never auto-run these commands. Always tell the user to run them manually:
Environment Detection
Before suggesting commands, determine:
- OS: macOS supports iOS + Android. Windows/Linux support Android only. WSL unsupported.
- Frontend stack: Livewire/Blade (
.blade.phpwithwire:,app/Livewire/) vs JavaScript (.vue/.jsx/.tsx,inertiajsinpackage.json).
Required Environment Variables
Set in .env before php artisan native:install:
Artisan Commands Reference
| Command | Purpose | |
|---|---|---|
php artisan native:install | Install/upgrade native shell | |
php artisan native:run ios/android | Build and launch on simulator/emulator | |
php artisan native:watch | Hot reload during development | |
php artisan native:jump | Quick restart without full rebuild | |
php artisan native:tail | Stream device logs | |
php artisan native:package | Package for App Store / Play Store |
HMR with Vite works when npm run dev runs alongside native:run.
Vite Configuration
JavaScript Usage (Vue/React/Inertia)
Event handling — always clean up in onUnmounted:
PHP Usage (Livewire/Blade)
Core Facades (Native\Mobile\Facades): Camera, Dialog, Biometrics, Network, SecureStorage, File, Share, Haptics, System, Device
Plugin Facades (separate packages): Browser, Scanner, Microphone, Geolocation, PushNotifications
Event Handling
- Sync returns directly:
SecureStorage::get(),Network::status() - Async dispatches events:
Camera::getPhoto()dispatchesPhotoTaken - Custom events:
->event(CustomEvent::class)(PHP) or.event('App\\Events\\Custom')(JS) - Events dispatch to both JS and PHP simultaneously
EDGE Components (Native UI)
EDGE renders Blade components as native UI. Works with both Livewire and Inertia (layout is Blade).
- Prefix:
native:bottom-nav,native:top-bar,native:side-nav - Child items require unique
idattributes - Add
nativephp-safe-areaclass to body for notch handling
Plugin System (v3)
Modular plugin architecture — device features as separate Composer packages:
| Package | Feature | Cost | |
|---|---|---|---|
nativephp/mobile-browser | In-app browser, OAuth | Free | |
nativephp/mobile-camera | Camera & photo picker | Free | |
nativephp/mobile-dialog | Alerts & toasts | Free | |
nativephp/mobile-device | Vibrate, flashlight, device info | Free | |
nativephp/mobile-file | File move/copy | Free | |
nativephp/mobile-microphone | Audio recording | Free | |
nativephp/mobile-network | Network status | Free | |
nativephp/mobile-share | Share URLs & files | Free | |
nativephp/mobile-system | Open app settings | Free | |
nativephp/mobile-scanner | QR/barcode scanning | $49 | |
nativephp/mobile-biometrics | Face ID / Touch ID | $49 | |
nativephp/mobile-geolocation | GPS location | $49 | |
nativephp/mobile-secure-storage | Keychain/Keystore | $49 | |
nativephp/mobile-firebase | Push notifications | Proprietary |
For authoring plugins: references/plugin-best-practices.md
Common Pitfalls
- Missing
NATIVEPHP_APP_IDin.envbeforenative:install - Suggesting iOS commands on Windows/Linux
- Not cleaning up event listeners with
off()inonUnmounted - Missing unique
idon EDGE component children - Forgetting
nativephp-safe-areaclass on body - Using core facades for plugin features (e.g.
Scannerrequiresnativephp/mobile-scanner) - Forgetting
nativephpMobile()/nativephpHotFile()invite.config.js - Not passing
--mode=iosor--mode=androidtonpm run build - Not fetching v3 docs before implementing — use WebFetch with URLs from references/available-docs.md
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingstreak-nphp/.claude/skills/nativephp-mobile/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/laraveldaily/mobile-reactnative-flutter-nativephp-course-demo/nativephp-mobile)