Laravel Mobile Pass is a new Spatie package that lets you generate Apple Wallet and Google Wallet passes directly from a Laravel application. It supports boarding passes, event tickets, coupons, store cards, membership cards, and gift cards. The package provides a unified builder API for both platforms, returning a MobilePass Eloquent model that implements Laravel's Responsable interface to serve the correct format per platform. It also supports live pass updates pushed to already-installed passes via a PushPassUpdateJob, with optional queue support. A live demo is available to test all pass types and the push update mechanism.

3m read timeFrom laravel-news.com
Post cover image
Table of contents
# A Single Builder API for Both Platforms# Live Pass Updates# Multiple Pass Types# Try the Live Demo
2 Comments

Sort: