PHPChangelog for PubNub PHP V4 SDK

 

These docs are for PubNub 4.x for PHP which is our latest and greatest! For the docs of the older versions of the SDK, please check PubNub 3.x for PHP.

If you have questions about the PubNub for PHP SDK, please contact us at support@pubnub.com.

PubNub EOL Policy


Added
  • Add messageCounts() method for retrieving unread message count

Fixed
  • Fix issue with deleteMessages endpoint using GET HTTP method instead of DELETE

Added
  • Add setOrigin method

Modified
  • Add .gitattributes file to save space when using composer

Fixed
  • Fix urlencode issue with channel names

  • Fix channel name validation for Publish

  • Return class instance of PNConfiguration on setConnectTimeout method

Added
  • Add fire() method on PubNub instance

  • Add history delete (deleteMessages) method on PubNub instance

  • Add Telemetry Manager

Fixed
  • Change return value of SetState::getOperationType

Added
  • release final v4

Fixed
  • Fix publish sequence counter

  • Fix publish tests

Fixed
  • Fix special characters encoding

  • Remove set* prefix from publish setters

Fixed
  • Add missing methods on PubNub instance

  • Fix removeAllPushChannelsForDevice method case

Fixed
  • Fix windows compatibility

  • Fix subscribe presence response parsing

  • Add missing removeListener()

  • Fix json decoding error

Modified
  • Add option to disable SSL

  • Add logger

  • Add Push methods

Modified
  • Alpha Release