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
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