File tree Expand file tree Collapse file tree 1 file changed +23
-4
lines changed
resources/views/docs/mobile/1/getting-started Expand file tree Collapse file tree 1 file changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,29 @@ Make sure you have an [active license](/mobile) before you install.
1313
1414</aside >
1515
16- If you've already got your [ environment set up] ( environment-setup ) to build mobile apps using Xcode and/or Android Studio, then you can
17- get building your first mobile app with NativePHP in minutes:
16+ If you've already got your [ environment set up] ( environment-setup ) to build mobile apps using Xcode and/or Android
17+ Studio, then you can get building your first mobile app with NativePHP in minutes:
18+
19+ ### 1. Update your ` composer.json `
20+ Add the NativePHP Composer repository:
21+
22+ ``` json
23+ "repositories" : [
24+ {
25+ "type" : " composer" ,
26+ "url" : " https://nativephp.composer.sh"
27+ }
28+ ]
29+ ```
30+
31+ ### 2. Set your app's identifier
32+ You must set a ` NATIVEPHP_APP_ID ` in your ` .env ` file:
33+
34+ ``` dotenv
35+ NATIVEPHP_APP_ID=com.cocacola.cokezero
36+ ```
37+
38+ ### 3. Install & run
1839
1940``` bash
2041# Install NativePHP for Mobile into a new Laravel app
@@ -33,5 +54,3 @@ php artisan native:run
3354- ** Examples** - Check out the Kitchen Sink demo app
3455 on [ Android] ( https://play.google.com/store/apps/details?id=com.nativephp.kitchensinkapp ) and
3556 [ iOS] ( https://testflight.apple.com/join/vm9Qtshy ) !
36-
37-
You can’t perform that action at this time.
0 commit comments