Skip to content

Commit 9e7b3bf

Browse files
authored
Simplify
1 parent d53313b commit 9e7b3bf

File tree

1 file changed

+11
-26
lines changed

1 file changed

+11
-26
lines changed

README.md

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,6 @@ A complete mobile app starter kit built with Laravel, NativePHP, Livewire, and T
1515
- 🌊 Smooth page transitions
1616
- 📖 In-app browser for external links
1717

18-
## Installation
19-
20-
### Using Laravel Installer
21-
22-
```bash
23-
laravel new my-app --using=nativephp/mobile-api-starter-kit
24-
cd my-app
25-
cp .env.example .env
26-
php artisan native:install
27-
php artisan native:run
28-
```
29-
30-
### Using Herd as a Custom Starter Kit
31-
32-
1. Add this repository as a custom starter kit in Herd
33-
2. Create a new site using the starter kit
34-
3. Run the setup commands:
35-
36-
```bash
37-
cp .env.example .env
38-
php artisan native:install
39-
php artisan native:run
40-
```
41-
4218
## Requirements
4319

4420
- PHP 8.3+
@@ -47,6 +23,15 @@ php artisan native:run
4723
- Android Studio (for Android development)
4824
- Xcode (for iOS development, macOS only)
4925

26+
## Installation
27+
28+
```shell
29+
laravel new my-app --using=nativephp/mobile-api-starter-kit
30+
cd my-app
31+
cp .env.example .env
32+
php artisan native:install
33+
```
34+
5035
## What's Included
5136

5237
- **Authentication Pages**: Login, Register, Profile
@@ -88,13 +73,13 @@ API_URL=https://ABC123.ngrok-free.app
8873
### Running the Mobile App
8974

9075
```bash
91-
# Run on iOS simulator (macOS only)
76+
# Run on iOS simulator/device (macOS only)
9277
php artisan native:run ios
9378

9479
# Run on Android emulator/device
9580
php artisan native:run android
9681

97-
# Watch for changes (hot reload)
82+
# Hot reloading
9883
php artisan native:watch ios
9984
php artisan native:watch android
10085
```

0 commit comments

Comments
 (0)