PHPackages                             nativephp/mobile-api-starter-kit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. nativephp/mobile-api-starter-kit

ActiveProject[API Development](/categories/api)

nativephp/mobile-api-starter-kit
================================

The official NativePHP API starter kit for Mobile.

11883PHPCI failing

Since Dec 16Pushed 5mo agoCompare

[ Source](https://github.com/NativePHP/mobile-api-starter-kit)[ Packagist](https://packagist.org/packages/nativephp/mobile-api-starter-kit)[ RSS](/packages/nativephp-mobile-api-starter-kit/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel NativePHP Mobile Starter Kit
====================================

[](#laravel-nativephp-mobile-starter-kit)

A complete mobile app starter kit built with Laravel, NativePHP, Livewire, and Tailwind CSS. Features authentication, news feed, and native mobile UI components.

📚 [NativePHP Documentation](https://nativephp.com/docs/mobile/2/getting-started/introduction)

Features
--------

[](#features)

- 🔐 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

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 11+
- Node.js &amp; NPM
- Android Studio (for Android development)
- Xcode (for iOS development, macOS only)
- NativePHP License

Installation
------------

[](#installation)

```
laravel new my-app --using=nativephp/mobile-api-starter-kit
cd my-app
cp .env.example .env
php artisan native:install
```

What's Included
---------------

[](#whats-included)

- **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

Development
-----------

[](#development)

### Setting Up Your API Server

[](#setting-up-your-api-server)

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.

#### Option 1: Using Laravel Herd (Recommended for macOS)

[](#option-1-using-laravel-herd-recommended-for-macos)

```
# Share your local site
herd share

# Update .env with the provided URL
API_URL=https://ABC123.sharedwithexpose.com
```

#### Option 2: Using ngrok

[](#option-2-using-ngrok)

```
# 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
```

### Running the Mobile App

[](#running-the-mobile-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 android
```

License
-------

[](#license)

Open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance50

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 55.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ab43d3432a80f0f41fe7015280f6024ff13fe8c2306cf114a1fbc91a4cd6f35?d=identicon)[simonhamp](/maintainers/simonhamp)

![](https://www.gravatar.com/avatar/16cc4d562d3f6f302901f1c65eb3ce819c0fb24ab2616241c605126102812ca4?d=identicon)[shanerbaner82](/maintainers/shanerbaner82)

---

Top Contributors

[![shanerbaner82](https://avatars.githubusercontent.com/u/5580860?v=4)](https://github.com/shanerbaner82 "shanerbaner82 (10 commits)")[![simonhamp](https://avatars.githubusercontent.com/u/31628?v=4)](https://github.com/simonhamp "simonhamp (5 commits)")[![JapSeyz](https://avatars.githubusercontent.com/u/2234034?v=4)](https://github.com/JapSeyz "JapSeyz (3 commits)")

### Embed Badge

![Health badge](/badges/nativephp-mobile-api-starter-kit/health.svg)

```
[![Health](https://phpackages.com/badges/nativephp-mobile-api-starter-kit/health.svg)](https://phpackages.com/packages/nativephp-mobile-api-starter-kit)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
