Quick Start
On this page
#Jump in
Don't waste hours downloading, installing, and configuring Xcode and Android Studio; just Jump:
- Install the Jump app on your iOS or Android device
- Run the following commands:
Copied!
composer require nativephp/mobile php artisan native:jump
Scan the QR code with Jump and you're off!
#Install & run
If you've already got your environment set up to build mobile apps using Xcode and/or Android Studio, you can build and run your app locally:
Copied!
# Install NativePHP for Mobile into a new Laravel appcomposer require nativephp/mobile # Ready your app to go nativephp artisan native:install # Run your app on a mobile devicephp artisan native:run
The native command
When you run native:install, NativePHP installs a native script helper that can be used as a convenient wrapper to
the native Artisan command namespace. Once this is installed you can do the following:
Copied!
# Instead of...php artisan native:run # Dophp native run # Or./native run