Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Mobile Pass Laravel Package

spatie/laravel-mobile-pass

Generate Apple Wallet and Google Wallet passes in Laravel (tickets, boarding passes, coupons, membership cards). Create and sign pass files, serve them to users, and push updates to installed passes to keep details current across devices.

View on GitHub
Deep Wiki
Context7
1.6.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-mobile-pass/compare/1.5.0...1.6.0

1.5.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-mobile-pass/compare/1.4.0...1.5.0

1.4.0

What's new

Apple pass builders can now set a background image, matching what the docs and Apple's pass spec describe for event tickets. Previously only setStripImage and setThumbnailImage were available.

EventTicketPassBuilder::make()
    // ...
    ->setBackgroundImage(public_path('images/background.png'))
    ->save();





A remote variant, setRemoteBackgroundImage(), is available as well. The image (along with its @2x and @3x densities) is bundled into the generated .pkpass.

Implemented in #50, closes #49.

1.3.0

What's new

Google Wallet pass classes now support the shared building blocks that the Google Pay & Wallet console exposes: geographic locations, the links module (the "main page URL" and any other URIs), text modules, and image modules.

These are available on every class type (GenericPassClass, LoyaltyPassClass, OfferPassClass, EventTicketPassClass, BoardingPassClass):

EventTicketPassClass::make('beatles-shea-1965')
    ->setEventName('The Beatles | Live at Shea')
    ->addLocation(40.7569, -73.8458)
    ->addLink('https://fabfour.example.com', 'Official site')
    ->addTextModule('Doors', 'Doors open at 18:30')
    ->addImageModule('https://example.com/seating-chart.png', 'seating')
    ->save();






Values hydrate back when fetching a class through find() or all(), readable via getLocations(), getLinks(), getTextModules(), and getImageModules(). The change is fully backwards compatible.

Implemented in #48, closes #47.

1.2.1

What's Changed

Fixes #42

Full Changelog: https://github.com/spatie/laravel-mobile-pass/compare/1.2.0...1.2.1

1.2.0

What's Changed

Full Changelog: https://github.com/spatie/laravel-mobile-pass/compare/1.1.0...1.2.0

1.1.0
1.0.5

What's Changed

PR #34 includes a required schema migration. See UPGRADING.md for the paste-in migration.

Full Changelog: https://github.com/spatie/laravel-mobile-pass/compare/1.0.4...1.0.5

1.0.3

What's Changed

Full Changelog: https://github.com/spatie/laravel-mobile-pass/compare/1.0.2...1.0.3

1.0.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-mobile-pass/compare/1.0.1...1.0.2

1.0.1
0.1.2

Changed

  • Building an Apple pass with a non-HTTPS mobile-pass.apple.webservice.host now throws InvalidConfig::webserviceHostMustBeHttps instead of silently producing a pass that Apple Wallet rejects (Apple requires webServiceURL to be HTTPS)
0.1.1

Changed

  • Apple .pkpass downloads are now served with Content-Disposition: inline instead of attachment, so Safari opens the Wallet preview directly (other browsers still download the file, as they have no Wallet handler)
0.1.0

Added

  • Apple pass.json now includes webServiceURL derived from mobile-pass.apple.webservice.host, so iOS can register devices and receive pass updates
  • Google Wallet support: class and object builders for BoardingPass, EventTicket, Loyalty, Offer, and Generic pass types
  • $pass->addToWalletUrl() unified across Apple and Google
  • $pass->expire() unified across Apple and Google
  • NotifyGoogleOfPassUpdateAction automatically PATCHes Google-side objects when MobilePass is updated
  • Save/remove callback endpoint at /mobile-pass/google/callbacks with GoogleMobilePassSaved / GoogleMobilePassRemoved Laravel events
  • $pass->googleEvents relation and $pass->isCurrentlySavedToGoogleWallet() helper
  • PushPassUpdateJob queueing opt-in via MOBILE_PASS_QUEUE_CONNECTION
  • Signed Apple .pkpass download route backing addToWalletUrl()
  • EventTicketPassBuilder on the Apple side (previously missing)
  • Docs for all the above under docs/basic-usage/ and docs/advanced-usage/

Changed

  • MobilePass::boot() is now platform-aware and dispatches a PushPassUpdateJob (previously called NotifyAppleOfPassUpdateAction synchronously)

Deferred to v1.1

  • Google local-path image hosting (object-level only; currently Image::fromUrl() is the supported path)
  • Smart Tap NFC fields
  • Automatic JWKS fetch for callback signing key verification
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codraw/framework-extra-bundle
codraw/messenger
codraw/security
codraw/mailer
codraw/contracts
codraw/profiling
codraw/dependency-injection
codraw/tester
codraw/core
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony