misch717/php2wsdl
最新稳定版本:0.8
Composer 安装命令:
composer require misch717/php2wsdl
包简介
Create WSDL files from PHP classes.
README 文档
README
Create WSDL files from PHP classes.
Install
Via Composer
$ composer require misch717/php2wsdl
Usage
$class = "Vendor\\MyClass"; $serviceURI = "http://www.myservice.com/soap"; $wsdlGenerator = new PHP2WSDL\PHPClass2WSDL($class, $serviceURI); // Generate the WSDL from the class adding only the public methods that have @soap annotation. $wsdlGenerator->generateWSDL(true); // Dump as string $wsdlXML = $wsdlGenerator->dump(); // Or save as file $wsdlXML = $wsdlGenerator->save('foo/example.wsdl');
Testing
$ phpunit
Security
If you discover any security related issues, please email instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 946
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-14