PHPackages                             professionalweb/php2wsdl - 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. professionalweb/php2wsdl

ActiveLibrary[API Development](/categories/api)

professionalweb/php2wsdl
========================

Create WSDL files form PHP classes.

0.7.1(9y ago)12.1kMITPHPPHP &gt;=5.4

Since Mar 31Pushed 9y ago1 watchersCompare

[ Source](https://github.com/SergioMadness/php2wsdl)[ Packagist](https://packagist.org/packages/professionalweb/php2wsdl)[ Docs](https://github.com/SergioMadness/php2wsdl)[ RSS](/packages/professionalweb-php2wsdl/feed)WikiDiscussions dev Synced yesterday

READMEChangelog (3)Dependencies (4)Versions (11)Used By (0)

PHP2WSDL
========

[](#php2wsdl)

[![Latest Stable Version](https://camo.githubusercontent.com/c50ed8fd2fd9b3292176aeb75c17cfb7a1004c6730064f95de5f2b066be55e88/68747470733a2f2f706f7365722e707567782e6f72672f70726f66657373696f6e616c7765622f706870327773646c2f762f737461626c65)](https://packagist.org/packages/professionalweb/php2wsdl)[![Build Status](https://camo.githubusercontent.com/074ad105256ca2c889c0a55b40a995c6b09e2ecde186984b3359cc337733a6ff/68747470733a2f2f7472617669732d63692e6f72672f53657267696f4d61646e6573732f706870327773646c2e7376673f6272616e63683d646576)](https://travis-ci.org/SergioMadness/php2wsdl)[![Code Climate](https://camo.githubusercontent.com/eaaeb567d7b7fdbb9a01b00d88bdcbf93c20b1f353aacbd6e1fbd281a2ff1869/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f53657267696f4d61646e6573732f706870327773646c2f6261646765732f6770612e737667)](https://codeclimate.com/github/SergioMadness/php2wsdl)[![Coverage Status](https://camo.githubusercontent.com/1e9e82d57a94b5cd5a88d8d1a6c79cc0946f4a82ef6b66ee306889035faae179/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f53657267696f4d61646e6573732f706870327773646c2f62616467652e7376673f6272616e63683d646576)](https://coveralls.io/github/SergioMadness/php2wsdl?branch=dev)[![License](https://camo.githubusercontent.com/6c45c4229edcaec6cd7defc43d9288638ec0ad15eca89631f0e406061d711157/68747470733a2f2f706f7365722e707567782e6f72672f70726f66657373696f6e616c7765622f706870327773646c2f6c6963656e7365)](https://packagist.org/packages/professionalweb/php2wsdl)[![Latest Unstable Version](https://camo.githubusercontent.com/1fdd6aa4d7902ad6da5dd5408ac4b20c50bca0cd37f19fb792c0a20a71271aeb/68747470733a2f2f706f7365722e707567782e6f72672f70726f66657373696f6e616c7765622f706870327773646c2f762f756e737461626c65)](https://packagist.org/packages/professionalweb/php2wsdl)

Create WSDL files form PHP classes.

Install
-------

[](#install)

Via Composer

```
$ composer require professionalweb/php2wsdl
```

Usage
-----

[](#usage)

```
$class = "Vendor\\MyClass";
$serviceURI = "http://www.myservice.com/soap";
$serviceName = 'testService';
$wsdlGenerator = new PHP2WSDL\PHPClass2WSDL($class, $serviceURI, $serviceName);
$wsdlGenerator->addClass(AnotherClass::class);
// Generate thw WSDL from the class adding only the public methods that have @soap annotation.
$wsdlGenerator->generateWSDL();
$wsdlXML = $wsdlGenerator->dump();
```

Testing
-------

[](#testing)

```
$ phpunit
```

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](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.2% 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 ~127 days

Total

9

Last Release

3456d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1365ec6405d0ae656f92345bbe388afc34a12a19c3ab0c9ff909b5d4ea3d83a0?d=identicon)[SergioMadness](/maintainers/SergioMadness)

---

Top Contributors

[![dragosprotung](https://avatars.githubusercontent.com/u/1081073?v=4)](https://github.com/dragosprotung "dragosprotung (28 commits)")[![SergioMadness](https://avatars.githubusercontent.com/u/9610601?v=4)](https://github.com/SergioMadness "SergioMadness (10 commits)")[![pbeernink](https://avatars.githubusercontent.com/u/465760?v=4)](https://github.com/pbeernink "pbeernink (3 commits)")[![matias-yii](https://avatars.githubusercontent.com/u/4443092?v=4)](https://github.com/matias-yii "matias-yii (2 commits)")[![gunmetalbackupgooglecode](https://avatars.githubusercontent.com/u/11455411?v=4)](https://github.com/gunmetalbackupgooglecode "gunmetalbackupgooglecode (1 commits)")[![jsoumelidis](https://avatars.githubusercontent.com/u/10474000?v=4)](https://github.com/jsoumelidis "jsoumelidis (1 commits)")

---

Tags

wsdlweb serviceswsdl generator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/professionalweb-php2wsdl/health.svg)

```
[![Health](https://phpackages.com/badges/professionalweb-php2wsdl/health.svg)](https://phpackages.com/packages/professionalweb-php2wsdl)
```

###  Alternatives

[php2wsdl/php2wsdl

Create WSDL files form PHP classes.

48516.0k3](/packages/php2wsdl-php2wsdl)[phpforce/soap-client

A PHP client for the Salesforce SOAP API

831.9M1](/packages/phpforce-soap-client)[thephalcons/amazon-webservices-bundle

A Symfony2 Bundle for interfacing with Amazon Web Services (AWS)

110225.6k](/packages/thephalcons-amazon-webservices-bundle)[piotrooo/wsdl-creator

PHP WSDL creator using PHPdoc (annotations, reflections).

83161.5k2](/packages/piotrooo-wsdl-creator)[camcima/camcima-soap-client

Wrapper around PHP SoapClient class

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

Yii2 soap wsdl web services

1633.8k](/packages/conquer-services)

PHPackages © 2026

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