1 hour ago · Tech · 0 comments

A mobile pass is that thing in your iPhone's Wallet app. A boarding pass, a concert ticket, a coffee loyalty card, a gym membership. Apple calls them passes. Google calls them objects. Both Wallet apps let you generate them, hand them out, and push live updates to the copy that's already on someone's device. We just released Laravel Mobile Pass, a package that lets you generate those Apple and Google passes from a Laravel app and send updates to already issues passes. Together with the package, we also published a demo site where you can create Apple Wallet passes and push an update so you can see it all working on your own iOS device. Dan Johnson and I have been working on it for a while. Let me walk you through what it can do. A simple example Here's the shortest useful thing you can build with it. An Apple Wallet boarding pass for a flight: use Spatie\LaravelMobilePass\Builders\Apple\AirlinePassBuilder; use Spatie\LaravelMobilePass\Enums\BarcodeType; $mobilePass =…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.