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 nusoap.sourceforge.net
| State | Version | Branch | PHP |
|---|---|---|---|
| development | dev-develop |
develop |
>= 5.6 |
| next | ^0.9.6 |
0.9.x |
>= 5.4 |
| stable | ~0.9.5.1 |
master |
>= 5.4 |
To install this pkg use Composer.
composer require econea/nusoap
Solid rock version is ~0.9.5.x.
composer require econea/nusoap:~0.9.5.1Just bugfixing for >=0.9.6. Update your composer.json.
{
"require": {
"econea/nusoap": "^0.9.6"
},
"minimum-stability": "dev",
"prefer-stable": true
}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.