NativePHP Livewire Integration
Integrates NativePHP mobile functionality into Livewire components using specialized event attributes and native hardware APIs.
The source repository doesn't declare a license. Check its terms before reusing the code.
Key features
- Standardized event listening using the required #[OnNative] attribute pattern.
- Native UI interaction handling for system dialogs, alerts, and push notifications.
- Real-time geolocation tracking and native permission management.
- Implementation patterns for native hardware APIs including camera, scanner, and microphone.
- Biometric authentication integration for Face ID and fingerprint security.
Use cases
- Building a mobile-first Laravel application that requires direct access to device hardware like the camera or GPS.
- Implementing secure biometric login or high-security action confirmation in a Livewire-based mobile app.
- Handling complex native events and media uploads from the device filesystem to web storage.
FAQ
What does the NativePHP Livewire Integration skill do?
This skill equips Claude Code with the specialized knowledge required to bridge NativePHP mobile functionality with Laravel Livewire components. it focuses on correct event handling, hardware API implementation, and mobile-specific design patterns.
How does this skill improve my development workflow?
It streamlines the coding process by providing Claude with ready-to-use, syntactically correct boilerplate for complex native interactions. This prevents common errors related to event naming and ensures your mobile features work correctly on both iOS and Android.
When should I activate or use this skill with Claude Code?
You should use this skill whenever you are developing a mobile application using the NativePHP framework and need to trigger or respond to mobile-specific hardware events within your Livewire-based UI.
Why is the #[OnNative] attribute emphasized in this skill?
In NativePHP Mobile, the #[OnNative] attribute is the required standard for listening to native events. This skill ensures Claude uses this specialized attribute instead of the generic Livewire #[On] attribute, which fails to handle the necessary event prefixes and class resolution.
Which mobile hardware features can I implement using this skill?
The skill provides patterns for a comprehensive suite of native features, including camera and gallery access, QR/barcode scanning, biometric authentication (Face ID/Touch ID), real-time geolocation tracking, and native system dialogs/alerts.