Releases: php-soap/wsdl
Releases · php-soap/wsdl
Version 1.10.0
What's Changed
Full Changelog: 1.9.0...1.10.0
Version 1.9.0
What's Changed
Full Changelog: 1.8.0...1.9.0
Version 1.8.0
What's Changed
- Fix psalm issues by @veewee in #18
- Update veewee/xml requirement from ~2.2 to ~2.2 || ~3.0 by @dependabot in #17
New Contributors
- @dependabot made their first contribution in #17
Full Changelog: 1.7.0...1.8.0
Version 1.7.0
What's Changed
Full Changelog: 1.6.0...1.7.0
Version 1.6.0
Version 1.5.0
What's Changed
- Require league/uri 7 by @simoheinonen in #13
New Contributors
- @simoheinonen made their first contribution in #13
Full Changelog: 1.4.0...1.5.0
Release 1.4.0
What's Changed
Full Changelog: v1.3.0...1.4.0
Release 1.3.0
What's Changed
Full Changelog: v1.2.0...v1.3.0
v1.2.0
What's Changed
Full Changelog: v1.1.0...v1.2.0
New features
FlatteningLoader
Can be used as a decorator around any other WSDL loader.
It searches for wsdl:import, xsd:import, xsd:include and xsd:redefines.
Downloads those files, groups them per schema target namespace and embeds them in a single WSDL.
use Soap\Wsdl\Loader\FlatteningLoader;
use Soap\Wsdl\Loader\StreamWrapperLoader;
$loader = new FlatteningLoader(new StreamWrapperLoader());
$contents = $loader($wsdl);
CallbackLoader
Gives you full flexibility over the loading process!
use Soap\Wsdl\Loader\CallbackLoader;
$loader = new CallbackLoader(static function (string $location) use ($loader, $style): string {
$style->write('> Loading '.$location . '...');
$result = $loader($location);
$style->writeln(' DONE!');
return $result;
})
$contents = $loader($wsdl);