Quick Start
#Let's go!
If you've already got your environment set up to build mobile apps using Xcode and/or Android Studio, then you can get building your first mobile app with NativePHP in minutes:
#1. Update your composer.json
Add the NativePHP Composer repository:
Copied!
"repositories": [ { "type": "composer", "url": "https://nativephp.composer.sh" }]
#2. Set your app's identifier
You must set a NATIVEPHP_APP_ID in your .env file:
Copied!
NATIVEPHP_APP_ID=com.cocacola.cokezero
#3. Install & run
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