Attached to this article is a PHP implementation of Marketo's SOAP API. This is unsupported, but you can use it freely as a starting point for building your own SOAP API client.
Learn more: Marketo SOAP API