Classes for creating apple push notifications in PHP
1 - Create push folder in server
2 - Give permisions to folder (chown -R apache push)
3 - Create icon.iconset folder inside of push folder
4 - Add the icons to the icon.iconset folder according to apple´s guidelines
5 - Add p12 keyfile to push folder
6 - Create .htaccess rule to create REST endpoints
7 - Create pushClass and the methods register and deregister to save stuff to db
- package.php --> serves the package to safari
- register.php --> registers the user's notification consent with the device ID
- log.php --> sends the errors to apache's error log