php-passbook
php-passbook copied to clipboard
More ticket in one file
Hello It is possible to store multiple tickets in one .pkpass file, with this library?
According to Apple Developer Documentation, you need to create a bundle of passes: Provide a bundle of passes to enable your user to download multiple passes at once. To create the pass bundle:
- Create a .zip file containing the .pkpass files for the passes that are part of the bundle.
- Change the extension of the .zip file to .pkpasses.
You can distribute a bundle of passes the same way you distribute a single pass. The MIME type for a bundle of passes is application/vnd.apple.pkpasses.
Note You can have up to 10 passes or 150 MB for a bundle of passes.
This is currently not possible with the lib, but we could add a helper function in the future.