A complete mobile app starter kit built with Laravel, NativePHP, Livewire, and Tailwind CSS. Features authentication, news feed, and native mobile UI components.
- 🔐 Complete authentication system with Sanctum API tokens
- 📱 Native mobile UI components (top bar, side navigation)
- 📰 RSS news feed integration with Laravel News
- 🔒 Secure token storage using device Keychain/KeyStore
- 🎨 Beautiful Tailwind CSS styling with dark mode support
- ⚡ Livewire for reactive components
- 🌊 Smooth page transitions
- 📖 In-app browser for external links
- PHP 8.3+
- Laravel 11+
- Node.js & NPM
- Android Studio (for Android development)
- Xcode (for iOS development, macOS only)
- NativePHP License
laravel new my-app --using=nativephp/mobile-api-starter-kit
cd my-app
cp .env.example .env
php artisan native:install- Authentication Pages: Login, Register, Profile
- Home Dashboard: Welcome page with user info
- News Feed: Laravel News RSS reader with images
- API Integration: Ready-to-use API client with Sanctum authentication
- Native Components: Top bar, side navigation, in-app browser
- Secure Storage: Token management with device security
The mobile app needs to connect to your Laravel API. For local development, you need to expose your local server so the mobile device/simulator can access it.
# Share your local site
herd share
# Update .env with the provided URL
API_URL=https://ABC123.sharedwithexpose.com# Start local laravel server
php artisan serve
# Start ngrok tunnel
ngrok http 8000
# Update .env with the provided URL
API_URL=https://ABC123.ngrok-free.app# Install assets Android
npm install && npm run build -- --mode=android
# Install assets iOS
npm install && npm run build -- --mode=ios
# Run on iOS simulator/device (macOS only)
php artisan native:run ios
# Run on Android emulator/device
php artisan native:run android
# Hot reloading
php artisan native:watch ios
php artisan native:watch androidOpen-sourced software licensed under the MIT license.