piotrooo/wsdl-creator
Composer 安装命令:
composer require piotrooo/wsdl-creator
包简介
PHP WSDL creator using PHPdoc (annotations, reflections).
README 文档
README
Supported versions
| Major version | PHP Compatibility |
|---|---|
| WSDL Creator 1 | Legacy version, not supported. |
| WSDL Creator 2 | PHP 7.1, PHP 7.2, PHP 7.3 |
| WSDL Creator 3 | PHP 7.3, PHP 7.4 |
| WSDL Creator 4 | PHP 8.0, PHP 8.1 |
Class annotations
@WebService
Parameters:
name(string "WebServiceAnnotations") default: service nametargetNamespace(string "http://foo.bar/webserviceannotations")location(string "http://localhost/wsdl-creator/service.php")ns(string "http://foo.bar/webserviceannotations/types")portName(string "PortNameWebService") default: service name
@BindingType
Parameters:
value(enum {"SOAP_11", "SOAP_12"}) default:"SOAP_11"
@SoapBinding
Parameters:
style(enum {"RPC", "DOCUMENT"}) default:"RPC"use(enum {"LITERAL", "ENCODED"}) default:"LITERAL"parameterStyle(enum {"BARE", "WRAPPED"}) default:"BARE"
Method annotations
@WebMethod
No parameters - mark method as a Web Service method
@WebParam
param(string "string $userName") look at the param examples sectionheader(bool true|false) default:false
@WebResult
param(string "string $uppercasedUserName") look at the param examples section
Param examples
string $userName- simple typeobject $user { string $name int $age }- complex typeint[] $numbers- array of simple or complex types
piotrooo/wsdl-creator 适用场景与选型建议
piotrooo/wsdl-creator 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 162.45k 次下载、GitHub Stars 达 83, 最近一次更新时间为 2013 年 09 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「annotations」 「generator」 「php」 「soap」 「wsdl」 「creator」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 piotrooo/wsdl-creator 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 piotrooo/wsdl-creator 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 piotrooo/wsdl-creator 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Memio's PrettyPrinter, used to generate PHP code from given Model
A collection of helpers for PHPUnit to ease testing Tarantool libraries.
The last validation library you will ever need!
Customizations for routing
This library parses phpdoc annotations and generates md document that can be parsed by slate
Bridge to AMQP extension for PHP 7.1+ (incl. PHP 8) with support for annotations and JSON Schema
统计信息
- 总下载量: 162.45k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 86
- 点击次数: 24
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-09-12