This article describes the release notes of the SDK for PHP. To ensure optimal performance, we recommend that you download the latest version of the SDK.

Usage notes

Only PHP 5.5 or later is supported.

Version 1.3.6

  • Release date

    2019-04-26

    Download the SDK.

  • New features

    The Composer tool can be installed.

  • Installation and running
    1. Installed PHP. For more information, see Install PHP.
    2. Install Composer. For more information, see Install Composer.

Version 1.3.5

  • Release date

    2017-06-06

    Download the SDK.

  • New features

    The Priority parameter is supported for the SendMessage operation.

Version 1.3.4

  • Release date

    2017-04-13

    Download the SDK.

  • New features

    SMS messages can be sent without the need to specify parameters.

Version 1.3.3

  • Release date

    2016-12-15

    Download the SDK.

  • New features

    SMS messages can be pushed to endpoints. You can view the sample code in the TopicTest.php file.

Version 1.3.2

  • Release date

    2016-11-03

    Download the SDK.

  • New features
    • The timeout period can be specified.
    • The parsing error of the Endpoint parameter in the response of the GetSubscriptionAttr operation is fixed.

Version 1.3.1

  • Release date

    2016-05-19

    Download the SDK.

  • New features

    The sample code that is used to retrieve messages from topics is optimized.

Version 1.3.0

  • Release date

    2016-02-25

    Download the SDK.

  • New features

    MNS queues and email addresses can be specified as endpoints of subscriptions to topics.

  • Installation and running
    1. Download the SDK and decompress the package to a directory.
    2. Include the following header in your script when you use the SDK: require_once ("/path_to_sdk/mns-autoloader.php").

Version 1.2.2

  • Release date

    2016-02-25

    Download the SDK.

  • New features

    The response error of the BatchSendMessage operation in the SDK for PHP is fixed.

  • Installation and running
    1. Download the SDK and decompress the package to a directory.
    2. Include the following header in your script when you use the SDK: require_once ("/path_to_sdk/mns-autoloader.php").

Version 1.2.1

  • Release date

    2016-02-22

    Download the SDK.

  • New features

    The Base64 encoding can be disabled. You can set the Base64 parameter to FALSE when you call the getQueueRef operation. The Base64 encoding is performed for all messages in queues by default in previous versions of SDKs.

  • Installation and running
    1. Download the SDK and decompress the package to a directory.
    2. Include the following header in your script when you use the SDK: require_once ("/path_to_sdk/mns-autoloader.php").

Version 1.2.0

  • Release date

    2016-02-14

    Download the SDK.

  • New features

    The Base64 encoding is no longer supported for the PublishMessage operation.

  • Installation and running
    1. Download the SDK and decompress the package to a directory.
    2. Include the following header in your script when you use the SDK: require_once ("/path_to_sdk/mns-autoloader.php").

Version 1.1.0

  • Release date

    2016-01-05

    Download the SDK.

  • New features
    • The topic feature is supported.
    • Security Token Service (STS) tokens are supported.
  • Installation and running
    1. Download the SDK and decompress the package to a directory.
    2. Include the following header in your script when you use the SDK: require_once ("/path_to_sdk/mns-autoloader.php").

Version 1.0.0

  • Release date

    2015-11-07

    Download the SDK.

  • Installation and running
    1. Download the SDK and decompress the package to a directory.
    2. Include the following header in your script when you use the SDK: require_once ("/path_to_sdk/mns-autoloader.php").