PHPackages                             megamenin/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. megamenin/yii2-soap-server

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

megamenin/yii2-soap-server
==========================

SOAP server for the Yii 2 framework based on the Yii 1 implementation

v1.0.0(4y ago)00BSD-3-ClausePHP

Since Feb 16Pushed 4y agoCompare

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

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

yii2-soap-server
================

[](#yii2-soap-server)

A SOAP server for Yii 2 based on the implementation of Yii 1 framework.

This extension is an adaptation of the SOAP Web Service available in Yii1, to Yii2. It contains features available up to v1.1.15.

Note: Things might not work as Yii2 progresses but I'll keep it updated as much as I can.

[![Build Status](https://camo.githubusercontent.com/3b300233fac51dd85b8fd8f935e24360c1c9246acbd08ad63c72399b908bfd93/68747470733a2f2f7472617669732d63692e6f72672f7375626465652f796969322d736f61702d7365727665722e706e67)](https://travis-ci.org/subdee/yii2-soap-server)

Requirements
------------

[](#requirements)

- [Yii2](http://github.com/yiisoft/yii2)
- [PHP SOAP](https://secure.php.net/manual/en/soap.installation.php)

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

[](#installation)

Use composer and add the following line to your composer.json file:

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

```

Usage
-----

[](#usage)

Usage is similar to the explanation in the [Yii guide](http://www.yiiframework.com/doc/guide/1.1/en/topics.webservice)

Define the custom action in your controller:

```
public function actions()
{
    return [
        ...,
        'myService' => [
            'class' => 'subdee\soapserver\SoapAction',
        ],
        ...,
    ];
}
```

Add the `@soap` keyword to the properly documented actions you want:

```
/**
* Returns hello and the name that you gave
*
* @param string $name Your name
* @return string
* @soap
*/
public function getHello($name)
{
    return 'Hello ' . $name;
}
```

Also, remember to turn off CSRF validation for the controller by setting its property:

```
public $enableCsrfValidation = false;
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.7% 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

Unknown

Total

1

Last Release

1546d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1876da9cbd6e8ebb9a312f0722982bc6fc6b775889f7ad96f6b05aa19561345?d=identicon)[megamenin](/maintainers/megamenin)

---

Top Contributors

[![subdee](https://avatars.githubusercontent.com/u/1172323?v=4)](https://github.com/subdee "subdee (39 commits)")[![Ant0ny](https://avatars.githubusercontent.com/u/760595?v=4)](https://github.com/Ant0ny "Ant0ny (1 commits)")[![gektor0856](https://avatars.githubusercontent.com/u/8090517?v=4)](https://github.com/gektor0856 "gektor0856 (1 commits)")[![megamenin](https://avatars.githubusercontent.com/u/22558664?v=4)](https://github.com/megamenin "megamenin (1 commits)")[![necrosisoff](https://avatars.githubusercontent.com/u/965884?v=4)](https://github.com/necrosisoff "necrosisoff (1 commits)")

---

Tags

serversoapyii2

### Embed Badge

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

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

###  Alternatives

[mongosoft/yii2-soap-server

SOAP Server Extension for Yii 2

25265.1k](/packages/mongosoft-yii2-soap-server)[phpfastcgi/speedfony-bundle

A bundle to integrate a FastCGI daemon with the symfony2 framework

909.5k](/packages/phpfastcgi-speedfony-bundle)

PHPackages © 2026

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