Skip to content

An Example Implementation of a Passbook Webservice in PHP

License

Notifications You must be signed in to change notification settings

rgranadosd/webservice-passbook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webservice-passbook

Implentation with Silex in PHP

Passbook is an iOS 6 feature that manages boarding passes, movie tickets, retail coupons, & loyalty cards. Using the PassKit API, developers can register web services to automatically update content on the pass, such as gate changes on a boarding pass, or adding credit to a loyalty card.

Apple provides a specification for a REST-style web service protocol to communicate with Passbook, with endpoints to get the latest version of a pass, register / unregister devices to receive push notifications for a pass, and query for passes registered for a device.

This implentation respect the specification of Apple : https://developer.apple.com/library/content/documentation/PassKit/Reference/PassKit_WebService/WebService.html

Installation

  • Execute SQL file database.sql
  • Copy your certificate pem file in the directory "certificates"
  • Update the web/config.php with your login/pass...

Requirement

About

An Example Implementation of a Passbook Webservice in PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 97.0%
  • ApacheConf 3.0%