Skip to content

Releases: chrisbarr/AmazonSNS-PHP-API

Able to set custom endpoints and update available regions

04 Apr 15:56
Compare
Choose a tag to compare

Make $userData an optional parameter in createPlatformEndpoint()

21 Jun 15:09
Compare
Choose a tag to compare
Merge pull request #17 from chrisharrison/master

Fixed an incorrect return type and removed restriction on optional parameter

Return nextToken in subscriber list methods

06 Apr 14:27
Compare
Choose a tag to compare

Previously the listSubscriptions and listSubscriptionsByTopic methods had no way of returning a nextToken if one existed. Now the method returns an array of members and nextToken elements like so:

$result = $sns->listSubscriptions();

print_r($result);
/*
Array
(
    [members] => Array
        (
            [0] => Array
                (
                    [Owner] => ...
                    [Endpoint] => ...
                    [Protocol] => ...
                    [SubscriptionArn] => ...
                    [TopicArn] => ...
                )
        )

    [nextToken] => ... // This is only set if a nextToken was returned from Amazon
)
*/

// Fetch the next page of results
$sns->listSubscriptions($result['nextToken']);

1.5.0

18 Aug 09:02
Compare
Choose a tag to compare

Return SubscriptionARN from subscribe()

1.4.0

24 Jun 08:09
Compare
Choose a tag to compare

Adding publishToEndpoint method

1.3.0

31 May 12:40
Compare
Choose a tag to compare

Adding createPlatformEndpoint and deleteEndpoint methods

1.2.0

10 Feb 13:20
Compare
Choose a tag to compare
Merge branch 'rohit-wadhwa-patch-1'

Composer support

04 Mar 23:22
Compare
Choose a tag to compare
1.0.0

Add composer support, update readme and minor tweaks - tag 1.0.0