PHPackages                             mongosoft/yii2-soap-server - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. mongosoft/yii2-soap-server

ActiveYii2-extension[DevOps &amp; Deployment](/categories/devops)

mongosoft/yii2-soap-server
==========================

SOAP Server Extension for Yii 2

0.2.1(3y ago)25265.1k↑34.3%11[6 issues](https://github.com/mohorev/yii2-soap-server/issues)MITPHPPHP &gt;=7.2

Since Feb 10Pushed 3y ago5 watchersCompare

[ Source](https://github.com/mohorev/yii2-soap-server)[ Packagist](https://packagist.org/packages/mongosoft/yii2-soap-server)[ Docs](https://github.com/mongosoft/yii2-soap-server)[ RSS](/packages/mongosoft-yii2-soap-server/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (5)Versions (7)Used By (0)

SOAP Server Extension for Yii 2
===============================

[](#soap-server-extension-for-yii-2)

Note, PHP SOAP extension is required.

[![Latest Version](https://camo.githubusercontent.com/8e532e3bc5d3804dfd448d32a77d7562122d9cda06dff2ded7dcb68bb4789be2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6d6f686f7265762f796969322d736f61702d7365727665723f7374796c653d666c6174)](https://github.com/mohorev/yii2-soap-server/releases)[![Software License](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](docs/LICENSE.md)[![Build Status](https://github.com/mohorev/yii2-soap-server/actions/workflows/build.yml/badge.svg)](https://github.com/mohorev/yii2-soap-server/actions/workflows/build.yml)[![Total Downloads](https://camo.githubusercontent.com/a506ccf74e0591e2c526f6a8cd0c582b0db5a5660d74bb25165ba770deb08914/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f6e676f736f66742f796969322d736f61702d7365727665723f7374796c653d666c6174)](https://packagist.org/packages/mongosoft/yii2-soap-server)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

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

```

or add

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

to the `require` section of your `composer.json` file.

Usage
-----

[](#usage)

You need to add \[\[mongosoft\\soapserver\\Action\]\] to web controller.

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

```
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.

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

Testing
-------

[](#testing)

```
$ vendor/bin/codecept run Unit
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](docs/CONTRIBUTING.md) for details.

Security
--------

[](#security)

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

License
-------

[](#license)

The MIT License (MIT). Please see [License File](docs/LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~602 days

Recently: every ~749 days

Total

6

Last Release

1100d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.4.0

0.2.0PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4974062?v=4)[Alexander Mohorev](/maintainers/mohorev)[@mohorev](https://github.com/mohorev)

---

Top Contributors

[![mohorev](https://avatars.githubusercontent.com/u/4974062?v=4)](https://github.com/mohorev "mohorev (8 commits)")[![javierabion](https://avatars.githubusercontent.com/u/9607218?v=4)](https://github.com/javierabion "javierabion (7 commits)")

---

Tags

serversoapyii2extensionwsdl

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/mongosoft-yii2-soap-server/health.svg)

```
[![Health](https://phpackages.com/badges/mongosoft-yii2-soap-server/health.svg)](https://phpackages.com/packages/mongosoft-yii2-soap-server)
```

###  Alternatives

[wsdltophp/packagegenerator

Generate hierarchical PHP classes based on a WSDL

4351.9M19](/packages/wsdltophp-packagegenerator)[mongosoft/yii2-soap-client

SOAP Client Extension for Yii 2

37404.9k](/packages/mongosoft-yii2-soap-client)[conquer/services

Yii2 soap wsdl web services

1632.5k](/packages/conquer-services)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)[yii2mod/yii2-ftp

A flexible FTP and SSL-FTP client for PHP. This lib provides helpers easy to use to manage the remote files.

32433.0k3](/packages/yii2mod-yii2-ftp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
