⭐ Found this useful? Give it a star on GitHub! It helps us maintain and improve the project.
Symfony bundle to generate Google Wallet (Android) and Apple Wallet (iOS) save links with QR codes.
📋 Compatible with Symfony 6.x, 7.x, and 8.x
- ✅ Google Wallet Add to Google Wallet save links (signed JWT)
- ✅ Apple Wallet
.pkpassdownload URL builder for iOS QR codes - ✅ PNG QR codes as data URIs (Twig helpers included)
- ✅ Pair generation for Android + iOS in one call
- ✅ Symfony configuration under
nowo_wallet_qr - ✅ Demo apps for Symfony 6, 7, and 8 (FrankenPHP)
composer require nowo-tech/wallet-qr-bundle endroid/qr-code firebase/php-jwt# config/packages/nowo_wallet_qr.yaml
nowo_wallet_qr:
google_wallet:
enabled: true
issuer_id: '%env(GOOGLE_WALLET_ISSUER_ID)%'
service_account_json: '%kernel.project_dir%/config/google-wallet-service-account.json'
origins: ['www.example.com']
apple_wallet:
enabled: true
pass_download_url_pattern: 'https://www.example.com/wallet/{pass_id}.pkpass'
qr_code:
size: 300use Nowo\WalletQrBundle\Model\GoogleWalletPassReference;
use Nowo\WalletQrBundle\Service\WalletQrService;
$reference = GoogleWalletPassReference::withIssuer(
$issuerId,
objectSuffix: 'MEMBER_001',
classSuffix: 'MEMBER_CLASS',
);
$pair = $walletQrService->createWalletQrPair($reference, applePassId: 'MEMBER_001');
// $pair['android']->qrCodeDataUri, $pair['ios']->qrCodeDataUri- Installation
- Configuration
- Usage
- Contributing
- Changelog
- Upgrading
- Release process
- Security
- Engram
- Spec-driven development
make up
make test
make test-coverage
make release-checkDemos: make -C demo/symfony8 up
| Language | Coverage |
|---|---|
| PHP | ~100% lines |
Run make test-coverage for the detailed report.
MIT — see LICENSE.