PHPackages                             subdee/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. [Framework](/categories/framework)
4. /
5. subdee/yii2-soap-server

ActiveYii2-extension[Framework](/categories/framework)

subdee/yii2-soap-server
=======================

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

2111.4k↓34.4%28[1 PRs](https://github.com/subdee/yii2-soap-server/pulls)PHP

Since Jul 9Pushed 4y ago5 watchersCompare

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

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

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 92.9% 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/f3ae79a0a294c5d26e96fa767d5e3ddcfed105213e7ff04b230e24b6aedcf5d8?d=identicon)[subdee](/maintainers/subdee)

---

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)")[![necrosisoff](https://avatars.githubusercontent.com/u/965884?v=4)](https://github.com/necrosisoff "necrosisoff (1 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

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