定制 uhi67/yii2-soap-server 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

uhi67/yii2-soap-server

最新稳定版本:1.5

Composer 安装命令:

composer require uhi67/yii2-soap-server

包简介

Yii2 soap wsdl web services

README 文档

README

Version 1.5

Description

WebService encapsulates SoapServer and provides a WSDL-based web service. Adaptation of Yii1 Web Services

Based on work of Qiang Xue qiang.xue@gmail.com and Andrey Borodulin

Change log is below

Installation

The preferred way to install this extension is through composer.

To install, either run

$ php composer.phar require uhi67/yii2-soap-server "^1.5"

or add

"uhi67/yii2-soap-server": "^1.5"

to the require section of your composer.json file.

Usage

namespace app\controllers;

class SiteController extends \yii\web\Controller
{
    public function actions()
    {
        return [
            'soap' => [
                'class' => 'conquer\services\WebServiceAction',
                'classMap' => [
                    'MyClass' => 'app\controllers\MyClass'
                ],
            ],
        ];
    }
    /**
     * @param \app\controllers\MyClass $myClass
     * @return string
     * @soap
     */
    public function soapTest($myClass)
    {
        return get_class($myClass);
    }
}

/**
* Class MyClass
 * @soap
 */
class MyClass
{
    /**
     * @var string
     * @soap
     */
    public $name;
}

Testing

  1. Before testing, run once composer install from repository root.
  2. Run php tests/app/yii serve if you're going to run acceptance tests.
  3. Run codecept run from repository root.

License

uhi67/yii2-soap-server is released under the BSD License. See the bundled LICENSE.md for details.

Change log

1.5

  • corrections for codeception functional testing and some test examples
  • online API documentation with ?doc query

统计信息

  • 总下载量: 76
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2021-06-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固