Skip to content

Easily extendable SOAP client for PHP with WS-Addressing support

License

Notifications You must be signed in to change notification settings

Prezent/soap-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prezent SoapClient

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.

About

Easily extendable SOAP client for PHP with WS-Addressing support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages