PHPackages                             ivankff/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ivankff/yii2-soap-server

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

ivankff/yii2-soap-server
========================

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

015PHP

Since Mar 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ivankff/yii2-soap-server)[ Packagist](https://packagist.org/packages/ivankff/yii2-soap-server)[ RSS](/packages/ivankff-yii2-soap-server/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)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

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 92.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/62e6319552cac655ad77ba2346e9fce4196a5a5b25725dd31d43420e24320b5d?d=identicon)[ivankff](/maintainers/ivankff)

---

Top Contributors

[![subdee](https://avatars.githubusercontent.com/u/1172323?v=4)](https://github.com/subdee "subdee (38 commits)")[![gektor0856](https://avatars.githubusercontent.com/u/8090517?v=4)](https://github.com/gektor0856 "gektor0856 (1 commits)")[![ivankff](https://avatars.githubusercontent.com/u/14100601?v=4)](https://github.com/ivankff "ivankff (1 commits)")[![necrosisoff](https://avatars.githubusercontent.com/u/965884?v=4)](https://github.com/necrosisoff "necrosisoff (1 commits)")

### Embed Badge

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

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

###  Alternatives

[ashallendesign/redactable-models

A Laravel package for easily redacting model data.

1143.4k](/packages/ashallendesign-redactable-models)[byrokrat/banking

Data types for accounts in the swedish banking system

1395.6k6](/packages/byrokrat-banking)[machy8/webloader

Simple, easy to use, php bundler for javascript and css

1934.2k3](/packages/machy8-webloader)[tobimori/kirby-tailwind-merge

Tailwind Merge for Kirby CMS

276.3k](/packages/tobimori-kirby-tailwind-merge)[imarc/craft-sass

A Craft plugin that compiles SASS on the server as needed.

145.8k](/packages/imarc-craft-sass)

PHPackages © 2026

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