Hi if I'm correct you are looking for a way to use the SDK with responses from platform notifications such as, http://developer.ebay.com/Devzone/guides/ebayfeatures/Notifications/Notif-EndOfAuction.html and http://developer.ebay.com/Devzone/guides/ebayfeatures/Notifications/Notif-BestOffer.html.
If so it may be possible with the SDK but this is one area that I don't have any experience with. As I understand it, eBay will send a POST HTTP request to a URL that you control. It is your responsibility to process the data that is included in the request and to respond with a standard HTTP status 200 OK. I assume that the POST data includes a SOAP body that can be accessed by the PHP script as a string. Inside the SOAP body should be the XML of the notification. As long as you have some way to obtain the actual XML string that eBay sends, you can use the XmlParser class. This class is what the SDK uses to convert the XML response from the API back into a PHP object. This means that you can also do the same.
* This string is not a complete example of what eBay could send.
* A full example can be found at http://developer.ebay.com/Devzone/guides/ebayfeatures/Notifications/Notif-EndOfAuction.html#Example
* It assumes that eBay sends a POST request to your sever and
* that you can obtain the data as a string, E.g via $_POST or some other way.
$soap = <<<EOF_S
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ebl:RequesterCredentials soapenv:mustUnderstand="0" xmlns:ns="urn:ebay:apis:eBLBaseComponents" xmlns:ebl="urn:ebay:apis:eBLBaseComponents">
* Very simple method of extracting the XML from the string.
$matches = array();
preg_match('#<soapenv:Body>(.*?)</soapenv:Body>#s', $soap, $matches);
$xml = $matches;
* The parser requires the full namespace and classname of the object that will be built from the XML.
$parser = new Parser\XmlParser('DTS\eBaySDK\Trading\Types\GetItemTransactionsResponseType');
* Pass the XML and the parser will return a PHP object.
$response = $parser->parse($xml);
* Use the object.
I haven't tried the above code but if it works and it's what you are looking for I can certainly get an example written.