Wallet
Molly Klein (The Firsthand Co.)
NativePHP^4.0PHP^8.3Laravel^11|^12|^13iOS18.0+Android29+
Add passes to Apple Wallet (iOS) and Google Wallet (Android) with a single Wallet::add() call.
iOS: Passes must be signed with a Pass Type ID certificate. No entitlement or capability needed. Pairs well with
spatie/laravel-mobile-passfor pass generation.Android: Only Google Wallet save links work. Apple
.pkpassfiles are rejected. A Google Pay & Wallet Console issuer account is required.
Features
Wallet::add()— opens Apple's add-to-Wallet sheet on iOS and Google Wallet save sheet on Android- Flexible pass input — pass URL (with optional headers),
.pkpassfile in the app bundle, or raw.pkpassbytes PassAddFinishedevent — reportsadded,closed,invalid, orfailedon iOSWallet::status()— reports the platform and whether a pass can be added<native:wallet-add-button>— Apple's official button on iOS; renders nothing on Android- JavaScript helpers —
add(),onPassAddFinished()for Vue and React
Installation
composer config repositories.nativephp-plugins composer https://plugins.nativephp.com
composer config http-basic.plugins.nativephp.com your@email.com your-license-key
php artisan vendor:publish --tag=nativephp-plugins-provider
composer require firsthand/nativephp-wallet
php artisan native:plugin:register firsthand/nativephp-wallet
php artisan native:run