Spatie released Laravel Mobile Pass, an open-source package for generating Apple Wallet passes and Google Wallet objects from a Laravel application. The package provides fluent builder classes for pass types like boarding passes and event tickets, stores passes as Eloquent models, and handles serving them via the Responsable interface. Key features include live push updates via APNs (a single updateField() call updates the pass on the user's device), pass relevance (geofencing and date-based lock screen appearance), pass expiration, and Google Wallet save/remove event callbacks. A live demo and full source code are available on GitHub.
Table of contents
A simple exampleHanding the pass to a userPushing a live updateGoogle Wallet is supported tooA few more things worth knowingTry it liveIn closing138.2K Impressions