Skip to content
Handle your device tokens efficiently with Amazon SNS.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
aws-lib
LICENSE
README.md
config.php
dump.sql
endpoint-example.php
sns.class.php

README.md

SNS-Endpoint-PHP

Registering an app’s token with Amazon SNS efficiently.

This impelementation is based on the Amazon blog mentioned over here - http://mobile.awsblog.com/post/Tx223MJB0XKV9RU/Mobile-token-management-with-Amazon-SNS. I have implemented the pseudo code mentioned in the blog for PHP.

Usage

  1. Use the dump.sql file create a new devices table in your mysql database
  2. Enter the database and SNS credentials in config.php
  3. Replace the token with your own app/device token in endpoint-example.php

I have written my own blog post about handling app token through SNS. http://uzairjawed.me/handling-amazon-sns-tokens-efficiently-push-notification/

You can’t perform that action at this time.