zinxan / native-core
The shared NativeWatch client that zinxan/native-desktop and zinxan/native-mobile build on.
Requires
- php: ^8.4
- illuminate/contracts: ^11.0|^12.0|^13.0
- illuminate/http: ^11.0|^12.0|^13.0
- illuminate/process: ^11.0|^12.0|^13.0
- illuminate/support: ^11.0|^12.0|^13.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-01 17:15:18 UTC
README
The shared NativeWatch client for error capture, privacy controls, breadcrumbs, bounded offline delivery and release evidence.
For a NativePHP app, install the integration for its platform. Composer installs this shared package automatically:
composer require zinxan/native-desktop
# Or, for iOS and Android:
composer require zinxan/native-mobile
Both integrations report to NativeWatch. Configure your project's ingest key in the app, and obtain diagnostic consent as described in the privacy guide.
- Desktop installation
- Mobile installation and native plugin registration
- Offline delivery and retry behavior
- Release and commit tracking
- iOS crash symbolication
Requires PHP 8.4 or newer and Illuminate 11, 12 or 13. Licensed under MIT.
To report uncaught errors and unhandled promise rejections from a web view, add
@nativewatchScripts to its Blade layout. If your Content Security Policy uses
a nonce, pass the nonce generated for that response:
@nativewatchScripts(Vite::cspNonce())
The SDK escapes the nonce and posts browser reports to the app's local server. Normal consent, redaction and delivery settings still apply.
Read the SDK contribution guide before opening a pull request.