NuSOAP is a rewrite of SOAPx4, provided by NuSphere and Dietrich Ayala. It is a set of PHP classes - no PHP extensions required - that allow developers to create and consume web services based on SOAP 1.1, WSDL 1.1 and HTTP 1.0/1.1.
๐น f3l1x.io | ๐ป f3l1x | ๐ฆ @xf3l1x
All credits belongs to official authors, take a look at sourceforge.net/projects/nusoap/
State | Version | Branch | PHP |
---|---|---|---|
stable | ~0.9.7 |
master |
>= 5.4 |
development | dev-develop |
develop |
>= 5.6 |
To install this pkg use Composer.
composer require econea/nusoap
Solid rock version is ~0.9.7
.
composer require econea/nusoap
Total refactored version (split into more files, CI, etc).
{
"require": {
"econea/nusoap": "dev-develop"
},
"minimum-stability": "dev",
"prefer-stable": true
}
// Config
$client = new nusoap_client('example.com/api/v1', 'wsdl');
$client->soap_defencoding = 'UTF-8';
$client->decode_utf8 = FALSE;
// Calls
$result = $client->call($action, $data);
Take a look at develop
branch. There will be new features and modernizations.
Minimal version is set to PHP 5.6.
composer require econea/nusoap:dev-develop
NuSOAP |
Milan Felix ล ulc |
Thank you for testing, reporting and contributing.