PHPackages                             adeotek/php-wsdl - 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. [API Development](/categories/api)
4. /
5. adeotek/php-wsdl

AbandonedArchivedLibrary[API Development](/categories/api)

adeotek/php-wsdl
================

PHP SOAP WSDL Generator and server

v1.0.0(7y ago)1226LGPL-3.0PHPPHP &gt;=7.1

Since Jun 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/adeotek/php-wsdl)[ Packagist](https://packagist.org/packages/adeotek/php-wsdl)[ RSS](/packages/adeotek-php-wsdl/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

PHP SOAP WSDL Generator and server
==================================

[](#php-soap-wsdl-generator-and-server)

Generate WSDL from PHP comments or programmatically and optionally create SOAP WSDL server.

### This project is based on [PHP WSDL generator](http://wan24.xpress-blog.de/software/php-wsdl-generator/) by Andreas Zimmermann.

[](#this-project-is-based-on-php-wsdl-generator-by-andreas-zimmermann)

Description
-----------

[](#description)

This library provides support for WSDL XML generation and running a PHP SOAP server (with or without WSDL support). Features:

- Extract WSDL definitions from PHP comments
- Optimize WSDL XML (remove line breaks and tabs)
- Create SOAP server with or without WSDL support (PHP SoapServer)
- Support for "simple" complex types and one-dimensional arrays
- The SOAP endpoint URI is determined automatically if not provided
- Generate WSDL definition for one or more PHP source files
- http Auth Login to use Web services

System Requirements
-------------------

[](#system-requirements)

- PHP 7.1+
- PHP SOAP extension

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

[](#installation)

### Composer

[](#composer)

Add PHP-WSDL repository to your `composer.json` file

```
"repositories": [
    {
        "type": "git",
        "url": "https://github.com/adeotek/php-wsdl.git"
    }
],
```

Add library

```
$ composer require adeotek/php-wsdl
```

or add it to your `composer.json` file

```
"require": {
    "adeotek/php-wsdl": "~1.0.0"
}
```

### Manual

[](#manual)

To install manually install the library, is only necessary to copy the content of the `src` directory into your project.

How to use PhpWsdl
------------------

[](#how-to-use-phpwsdl)

\###Classes description

- AdeoTEK\\PhpWsdl\\SoapServer
    - SOAP server class (uses PHP SoapServer class)
- AdeoTEK\\PhpWsdl\\Generator
    - Class responsible for WSDL generation
- AdeoTEK\\PhpWsdl\\BaseObject
    - Abstract class implemented by all parsing resulted objects
- AdeoTEK\\PhpWsdl\\Element
    - Complex types elements (properties) object
- AdeoTEK\\PhpWsdl\\Parameter
    - Methods parameters and return types objects resulted from parsing
- AdeoTEK\\PhpWsdl\\ComplexType
    - Complex types objects resulted from parsing (arrays or classes)
- AdeoTEK\\PhpWsdl\\Method
    - Methods objects resulted from parsing
- AdeoTEK\\PhpWsdl\\Parser
    - Class responsible with parsing PHP source code
- AdeoTEK\\PhpWsdl\\Formatter
    - Helper class used for XML formatting
- AdeoTEK\\PhpWsdl\\Debugger
    - Class used for debugging

\###Keywords processed by the parser in order to generate WSDL definitions:

- @pw\_complex
    - A complex type (array/class)
- @pw\_element
    - A complex type property/element
- @param
    - A method parameter
- @return
    - A method return type

Key-value options can be provided for complex types and/or their properties. The options are defined using `@pw_set` keyword and must be placed right before the target element.

\###Usage

- Simple usage example (SoapServer)

```
$soapServer = new AdeoTEK\PhpWsdl\SoapServer([
    'className'=>'\Some\Class',
    'serviceUri'=>'service_uri',
    'wsdlConfig'=>[
        'optimize'=>TRUE,
        'includeDesc'=>FALSE,
        'srcFiles'=>[
            'path/OtherClass.php',
            'path/sourceFile.php'
        ],
    ],
]);
$soapServer->runServer();

$debugMessages = AdeoTEK\PhpWsdl\Debugger::getMessages();
```

### License

[](#license)

PhpWsdl is GPL (v3 or later) licensed per default. See `LICENSE` file for the full GPLv3 license text.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see .

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

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

2880d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6872816?v=4)[George Benjamin-Schonberger](/maintainers/adeotek)[@adeotek](https://github.com/adeotek)

---

Top Contributors

[![adeotek](https://avatars.githubusercontent.com/u/6872816?v=4)](https://github.com/adeotek "adeotek (9 commits)")

---

Tags

phpsoapwsdl

### Embed Badge

![Health badge](/badges/adeotek-php-wsdl/health.svg)

```
[![Health](https://phpackages.com/badges/adeotek-php-wsdl/health.svg)](https://phpackages.com/packages/adeotek-php-wsdl)
```

###  Alternatives

[camcima/camcima-soap-client

Wrapper around PHP SoapClient class

2672.0k2](/packages/camcima-camcima-soap-client)[conquer/services

Yii2 soap wsdl web services

1632.5k](/packages/conquer-services)[skautis/skautis

Library for API calls to SkautIS

1329.7k4](/packages/skautis-skautis)

PHPackages © 2026

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