firstlightui / nativephp
Native controls for NativePHP, shaped for each platform.
Package info
github.com/firstlightui/nativephp
Type:nativephp-ui-plugin
pkg:composer/firstlightui/nativephp
Requires
- php: ^8.4
- illuminate/filesystem: ^10.0|^11.0|^12.0|^13.0
- illuminate/translation: ^10.0|^11.0|^12.0|^13.0
- illuminate/validation: ^10.0|^11.0|^12.0|^13.0
- nativephp/mobile: ^4.6
- nativephp/mobile-ui: ^0.8
- ramsey/uuid: ^4.7
Requires (Dev)
- illuminate/http: ^10.0|^11.0|^12.0|^13.0
- illuminate/view: ^13.0
- league/flysystem: ^3.25.1
- league/flysystem-local: ^3.25.1
- pestphp/pest: ^5.0
- pestphp/pest-plugin-evals: ^5.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-10-19 21:48:42 UTC
README
Native controls for NativePHP, shaped for each platform. Firstlight exposes a shared EDGE API backed by genuine SwiftUI and Jetpack Compose controls.
Documentation · Source · Email
Installation
composer require firstlightui/nativephp php artisan native:plugin:register php artisan native:install --force
Pre-alpha NativePHP requirement
Use FirstlightUI\NativeComponent for screens on NativePHP Mobile ^4.6
and Mobile UI ^0.8, with official, unpatched runtime binaries. It stamps each
complete nonstreaming response with a process-wide increasing revision so an
otherwise identical response can reach the native renderers. Blade render paths
are automatic; hand-built Element roots must return $this->response($element).
Streaming is disabled and cannot be opted into.
The upstream identical-frame bug #365 remains, but Firstlight no longer waits for it. Firstlight remains pre-alpha, pending physical-device, soak/performance, and wider application qualification; this is not a production-readiness claim. See the response contract and limitations.
Example
<firstlight:segmented :options="['mine' => 'Mine', 'all' => 'All']" native:model="queue" label="Queue" />
Read the documentation index or the governing Firstlight constitution.
Licence
MIT