prezent / soap-client
Easily extendable SOAP client with WS-Addressing support
Installs: 84 954
Dependents: 2
Suggesters: 0
Security: 0
Stars: 5
Watchers: 5
Forks: 6
Open Issues: 1
Requires
- php: ^7.1|^8.0
- ext-soap: *
- ramsey/uuid: ^3.0|^4.0
- symfony/event-dispatcher: ^4.0|^5.0|^6.0
Requires (Dev)
- phpunit/phpunit: ^9.4
README
The Prezent SoapClient is an extension to PHP's built-in SoapClient that brings easy extensability through an event dispatcher and built-in support for WS-Addressing.
Installation
$ composer require prezent/soap-client
Example usage
use Prezent\Soap\Client\SoapClient; use Prezent\Soap\Client\Extension\WSAddressing; $client = new SoapClient('http://example.org/wsa-server.wsdl', [ 'event_subscribers' => [ new WSAddressing('http://example.org/return-address'), ], ]); $client->someMethod('arg');
Documentation
The complete documentation can be found in the doc directory.