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

ActiveLibrary[API Development](/categories/api)

misch717/php2wsdl
=================

Create WSDL files from PHP classes.

0.8(3y ago)0923MITPHPPHP &gt;=5.6

Since Mar 31Pushed 3y agoCompare

[ Source](https://github.com/misch717/php2wsdl)[ Packagist](https://packagist.org/packages/misch717/php2wsdl)[ Docs](https://github.com/misch717/phpToWsdl)[ RSS](/packages/misch717-php2wsdl/feed)WikiDiscussions master Synced 1mo ago

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

PHP2WSDL
========

[](#php2wsdl)

[![Latest Version](https://camo.githubusercontent.com/b5e10c5cf3c00ff40e0cc91faf6a1a8732b0700caa15a0fce08fb72ed3aa41d9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f647261676f7370726f74756e672f706870327773646c2e7376673f7374796c653d666c61742d737175617265)](https://github.com/dragosprotung/php2wsdl/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/a5c1d1d304472199eef4b54637a6615319cd3c55ed460ac85ec298925e1e3951/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f647261676f7370726f74756e672f706870327773646c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/dragosprotung/php2wsdl)[![Coverage Status](https://camo.githubusercontent.com/7d142fb466bb11c06568283573125390471ac65ce9aef944beb349e7adc039ea/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f647261676f7370726f74756e672f706870327773646c2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/dragosprotung/php2wsdl/code-structure)[![Quality Score](https://camo.githubusercontent.com/021249f9f94b5f98c7763b658953ae3808e7fe3a5287a474e934dd1a7571a921/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f647261676f7370726f74756e672f706870327773646c2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/dragosprotung/php2wsdl)[![Total Downloads](https://camo.githubusercontent.com/a9bcb125e10cfeb07a709525e26833ef40b5657d799e20784da12cb3346e09e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706870327773646c2f706870327773646c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/php2wsdl/php2wsdl)

Create WSDL files from PHP classes.

Install
-------

[](#install)

Via Composer

```
$ composer require misch717/php2wsdl
```

Usage
-----

[](#usage)

```
$class = "Vendor\\MyClass";
$serviceURI = "http://www.myservice.com/soap";
$wsdlGenerator = new PHP2WSDL\PHPClass2WSDL($class, $serviceURI);
// Generate the WSDL from the class adding only the public methods that have @soap annotation.
$wsdlGenerator->generateWSDL(true);
// Dump as string
$wsdlXML = $wsdlGenerator->dump();
// Or save as file
$wsdlXML = $wsdlGenerator->save('foo/example.wsdl');
```

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 54% 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 73.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 ~343 days

Recently: every ~616 days

Total

10

Last Release

1343d ago

PHP version history (2 changes)0.2PHP &gt;=5.4

0.6.1PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/90a9da746e6b90284443fb2e3ba70bce5dbb792fba18881665dcc223bb0e28b5?d=identicon)[misch717](/maintainers/misch717)

---

Top Contributors

[![dragosprotung](https://avatars.githubusercontent.com/u/1081073?v=4)](https://github.com/dragosprotung "dragosprotung (30 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)")[![christingruber](https://avatars.githubusercontent.com/u/1124818?v=4)](https://github.com/christingruber "christingruber (2 commits)")[![gunmetalbackupgooglecode](https://avatars.githubusercontent.com/u/11455411?v=4)](https://github.com/gunmetalbackupgooglecode "gunmetalbackupgooglecode (1 commits)")[![maxxer](https://avatars.githubusercontent.com/u/240201?v=4)](https://github.com/maxxer "maxxer (1 commits)")[![misch717](https://avatars.githubusercontent.com/u/56400338?v=4)](https://github.com/misch717 "misch717 (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/misch717-php2wsdl/health.svg)

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

###  Alternatives

[php2wsdl/php2wsdl

Create WSDL files form PHP classes.

51504.8k3](/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)

110224.7k](/packages/thephalcons-amazon-webservices-bundle)[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)
