2017 © Pedro Peláez
 

yii2-extension yii2-soap-server

SOAP Server Extension for Yii 2

image

mongosoft/yii2-soap-server

SOAP Server Extension for Yii 2

  • Thursday, April 23, 2015
  • by mongosoft
  • Repository
  • 4 Watchers
  • 23 Stars
  • 21,215 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 3 Open issues
  • 5 Versions
  • 9 % Grown

The README.md

SOAP Server Extension for Yii 2

Note, PHP SOAP extension is required., (*1)

Latest Version Software License Build Status Total Downloads, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

composer require --prefer-dist mongosoft/yii2-soap-server "*"

or add, (*5)

"mongosoft/yii2-soap-server": "*"

to the require section of your composer.json file., (*6)

Usage

You need to add [[mongosoft\soapserver\Action]] to web controller., (*7)

Note, In a service class, a remote invokable method must be a public method with a doc comment block containing the '@soap' tag., (*8)

class ApiController extends Controller
{
    /**
     * @inheritdoc
     */
    public function actions()
    {
        return [
            'hello' => 'mongosoft\soapserver\Action',
        ];
    }

    /**
     * @param string $name
     * @return string
     * @soap
     */
    public function getHello($name)
    {
        return 'Hello ' . $name;
    }
}

In case you want to disable the WSDL mode of SoapServer, you can specify this in the serviceOptions parameter as indicated below. You can use this when the request is to complex for the WSDL generator., (*9)

    /**
     * @inheritdoc
     */
    public function actions()
    {
        return [
            'index' => [
                'class' => 'mongosoft\soapserver\Action',
                'serviceOptions' => [
                    'disableWsdlMode' => true,
                ]
            ]
        ];
    }

Testing

bash $ vendor/bin/codecept run Unit, (*10)

Contributing

Please see CONTRIBUTING for details., (*11)

Security

If you discover any security related issues, please email instead of using the issue tracker., (*12)

License

The MIT License (MIT). Please see License File for more information., (*13)

The Versions

23/04 2015

dev-master

9999999-dev https://github.com/mongosoft/yii2-soap-server

SOAP Server Extension for Yii 2

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alexander Mohorev

extension yii2 server soap wsdl

23/04 2015

0.1.3

0.1.3.0 https://github.com/mongosoft/yii2-soap-server

SOAP Server Extension for Yii 2

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alexander Mohorev

extension yii2 server soap wsdl

13/03 2015

0.1.2

0.1.2.0 https://github.com/mongosoft/yii2-soap-server

SOAP Server Extension for Yii 2

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alexander Mohorev

extension yii2 server soap wsdl

25/02 2015

0.1.1

0.1.1.0 https://github.com/mongosoft/yii2-soap-server

SOAP Server Extension for Yii 2

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alexander Mohorev

extension yii2 server soap wsdl

10/02 2015

0.1.0

0.1.0.0 https://github.com/mongosoft/yii2-soap-server

SOAP Server Extension for Yii 2

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alexander Mohorev

extension yii2 server soap wsdl