A full set of open source PHP classes to interact with the Apple Push Notification service for the iPhone, iPad and the iPod Touch.
From the project page:
A full set of open source PHP classes to interact with the Apple Push Notification (apns) service for the devices with iOS operation system, such as iPhone, iPad and the iPod Touch.
Development server: api.development.push.apple.com:443
Production server: api.push.apple.com:443
In general APNS works in the following way:
- Web application sends request via HTTP/Socket connection to Apple's APNS server. The message should contain payload(what use will receive) and unique device token that was sent to the server beforehand.
- APNS server determines specific device and application should it sends notification to, is user allowed specific application to get the notification, etc
- If 2-nd item is OK, iOS receives push notification.