Browse / Mobile Development / NativePHP Architecture

NativePHP Architecture

Explains the internal mechanics of NativePHP Mobile to facilitate seamless communication between PHP and native iOS/Android components.

SkillMobile DevelopmentIosAndroid

The source repository doesn't declare a license. Check its terms before reusing the code.

Key features

  • Guidance on the EDGE native UI rendering system
  • In-depth guide to the nativephp_call communication bridge
  • Framework for native-to-PHP event dispatching and handling
  • Implementation patterns for Kotlin and Swift bridge registration
  • Architecture overview of WebView and PHP binary integration

Use cases

  • Troubleshooting communication issues between PHP events and native triggers
  • Developing custom plugins that require native iOS or Android code execution
  • Optimizing native UI performance using EDGE instead of standard WebViews

FAQ

How does this skill improve my mobile development workflow?

It allows Claude to generate precise implementation patterns for the 'nativephp_call' bridge and event dispatching, reducing the time spent debugging the communication layer between the PHP binary and the native shell.

What is the 'god method' in NativePHP Architecture?

The 'god method' refers to 'nativephp_call', a universal function that serves as the foundation for all PHP-to-native communication, routing requests through a JavaScript bridge to native implementation classes.

What does the NativePHP Architecture skill do?

This skill equips Claude with deep technical knowledge of NativePHP Mobile's internal mechanics, enabling it to assist developers in building native iOS and Android apps using Laravel and PHP.

Does this skill help with UI development?

Yes, it provides specific guidance on the EDGE (Element Definition and Generation Engine) system, which allows you to define native UI elements using Blade components that render as true native views rather than HTML.

When should I use this skill?

Use this skill when you need to implement communication between PHP and native code, register bridge functions in Kotlin or Swift, or utilize the EDGE system for native UI rendering.