native-php-mobile

native-php-mobile is a skill for Claude Code, Codex from tecbay/laravel-ai-skills. It costs 88 tokens per session (2,934 once invoked), scanned A, original, MIT.

A way to build iOS and Android apps with Laravel, a PHP web framework, while packaging the Laravel application inside a native mobile app. NativePHP for Mobile provides access to phone features through plugins and supports both quick device previews and full builds.

In plain words
What is it for?
Installing and previewing mobile apps, adding native interface components, push notifications, deep links, local SQLite storage, background queues, and preparing iOS or Android packages.
Why use it?
It lets Laravel developers create mobile apps without running a web server for the app, while keeping much of their Laravel code and tools.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Installing and previewing mobile apps, adding native interface components, push notifications, deep links, local SQLite storage, background queues, and preparing iOS or Android packages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tecbay/laravel-ai-skills/native-php-mobile
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tecbay/laravel-ai-skills --skill native-php-mobile
Clone the repo
git clone --depth 1 https://github.com/tecbay/laravel-ai-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for native-php-mobile

README.md
[![agentmods](https://agentmods.dev/badge/skills/tecbay/laravel-ai-skills/native-php-mobile/github.svg)](https://agentmods.dev/skills/tecbay/laravel-ai-skills/native-php-mobile)
Your own site
<a href="https://agentmods.dev/skills/tecbay/laravel-ai-skills/native-php-mobile"><img src="https://agentmods.dev/badge/skills/tecbay/laravel-ai-skills/native-php-mobile/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for native-php-mobile

Your own site · 80×15
<a href="https://agentmods.dev/skills/tecbay/laravel-ai-skills/native-php-mobile"><img src="https://agentmods.dev/badge/skills/tecbay/laravel-ai-skills/native-php-mobile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,934 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.02934
Opus 5 $0.00044 $0.01467
Sonnet 5 $0.00018 $0.00587
Haiku 4.5 $0.00009 $0.00293

Measured 9d ago against content hash b2cbb6e6d552, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

native-php-mobile scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

native-php-mobile/SKILL.md · 317 lines

How it starts

The opening of the file, as written. The whole thing — 317 lines — stays where its author put it; the contents beside it link to each section on GitHub.

NativePHP for Mobile v3

NativePHP for Mobile runs full Laravel apps natively on iOS and Android — no web server required. PHP 8.4 is embedded in Swift/Kotlin shells; native APIs are accessed via plugins (Composer packages with PHP facades + native code).

Package: nativephp/mobile ^3.0 | Namespace: Native\Mobile\ | Requires: PHP 8.3+, Laravel 11+

Quick Start

Fastest path — Jump (no Xcode/Android Studio)

# New app
laravel new my-app --using=nativephp/mobile-starter
cd my-app && php artisan native:jump

# Existing Laravel app
composer require nativephp/mobile
php artisan native:jump

Install Jump on your phone, scan the QR code. See jump.md.

Full native build

composer require nativephp/mobile

# Set in .env BEFORE install:
# NATIVEPHP_APP_ID=com.yourcompany.yourapp

php artisan native:install
php artisan native:run ios      # or android

Test in browser first, then on device. The nativephp/ directory is ephemeral — add to .gitignore; use native:install --force on upgrades.

Architecture

  1. Custom PHP 8.4 binary + NativePHP extension embedded in native shell
  2. Laravel app zipped and bundled; extracted on first boot (or every boot in DEBUG version)
  3. Migrations run automatically on app start
  4. Native APIs called from PHP via plugin facades; async ops use events
  5. EDGE (v3): Blade components render as truly native UI (nav bars, etc.)

NativeServiceProvider

Plugins must be registered in app/Providers/NativeServiceProvider.php:

php artisan vendor:publish --tag=nativephp-plugins-provider
php artisan native:plugin:register vendor/plugin-name
php artisan native:plugin:list

Core Facades

Facade Purpose
Camera Photo capture
Biometrics Face ID / fingerprint
Dialog Toasts, alerts
Browser In-app browser, OAuth
PushNotifications FCM push tokens
SecureStorage Keychain/Keystore
Network Connectivity status
System Platform checks, flashlight
Haptics Vibration

Read the full file on GitHub · 317 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 317 lines · 88 tokens per session scan A b2cbb6e6d552

Subscribe to this mod's changes

native-php-mobile is a skill published in the GitHub repository tecbay/laravel-ai-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 88 tokens to every session and 2,934 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens

kotlin-specialist

Provides idiomatic Kotlin implementation patterns including coroutine concurrency, Flow stream handling, multiplatform architecture, Compose UI construction, Ktor server setup, and type-safe DSL design. Use when building Kotlin applications requiring coroutines, multiplatform development, or Android with Compose.…

Jeffallan/claude-skills · 86 tokens

swiftui-dev

Use this skill for SwiftUI development, architecture, structure, performance, and Apple native app profiling. It combines.

Orkas-AI/Orkas · 3 tokens

mobiai-kmp

Use when working on a Kotlin Multiplatform project — shared code, expect/actual declarations, platform-specific implementations, building and testing.

ArisGuimera/MobiAI-Core · 32 tokens

llamaindex-development

Expert guidance for LlamaIndex development including RAG applications, vector stores, document processing, query engines, and building production AI applications.

Mindrally/skills · 32 tokens

maui-auth-secure-storage

Implement MAUI auth and secure storage. USE FOR: WebAuthenticator/MSAL, OAuth/OIDC redirects, Entra ID, callback URIs, Android intent filters, CFBundleURLTypes, token cache cleanup, SecureStorage, logout, Blazor Hybrid auth handoff. DO NOT USE FOR: architecture, API retries/offline data, UI debugging.

dotnet/maui-labs · 78 tokens