| title | Quick Start |
|---|---|
| order | 2 |
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:
If you are creating new Laravel app, you can build using our starter kit:
laravel new my-app --using=nativephp/mobile-starter
cd my-app
php artisan native:jumpIf you already have a Laravel app:
composer require nativephp/mobile
php artisan native:jumpScan the QR code with Jump and you're off!
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:
# Install NativePHP for Mobile into a new Laravel app
composer require nativephp/mobile
# Ready your app to go native
php artisan native:install
# Run your app on a mobile device
php artisan native:runWhen 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:
# Instead of...
php artisan native:run
# Do
php native run
# Or
./native run