vtardia / pass-signer
This package is abandoned and no longer maintained.
No replacement package was suggested.
Passbook signing utility for PHP
dev-master
2014-07-04 13:59 UTC
Requires
- php: >=5.3.0
- ext-openssl: *
- ext-zip: *
This package is auto-updated.
Last update: 2022-01-23 21:05:02 UTC
README
Passbook signing utility for PHP
PassSigner is both a library and a CLI tool to sign and verify Apple's Passbook package files (*.pkpass
).
With PassSigner you can:
- Sign and zip a raw pass directory
- Unzip and verify a signed pass
Sign and Zip a Raw Pass Directory
$ /path/to/signpass -p /my/pass/directory -c /path/to/MyCert.pem -w <CertificatePassword> -o /dest/PassFile.pkpass
Important: in order to generate and sign a pass you need to obtain a valid pass certificate from Apple. Certificates are issued to registered iOS developers (any paid plan).
Unzip and Verify a Signed Pass
$ /path/to/signpass -v /path/to/PassFile.pkpass
Resources
For Passbook's official specifications visit Apple's Passbook Developers page.
For a more detailed example you may want to read Digital Tickets with PHP and Apple Passbook on Sitepoint.
License
PassSigner is licensed under the MIT License - see the LICENSE
file for details.