PHPackages                             webair-srl/phpwsdl2 - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. webair-srl/phpwsdl2

ActiveLibrary[HTTP &amp; Networking](/categories/http)

webair-srl/phpwsdl2
===================

PhpWSDL2 - Modern PHP WSDL/SOAP WebService Library with Multiple Protocol Support

v1.0.2(9mo ago)146MITPHPPHP &gt;=8.0

Since Jul 31Pushed 8mo agoCompare

[ Source](https://github.com/Webair-SRL/phpwsdl2)[ Packagist](https://packagist.org/packages/webair-srl/phpwsdl2)[ Docs](https://github.com/Webair-SRL/phpwsdl2)[ RSS](/packages/webair-srl-phpwsdl2/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (4)Used By (0)

PhpWSDL2
========

[](#phpwsdl2)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![PHP Version](https://camo.githubusercontent.com/f9a61eee600abfa4c06628ff826dc6a7dfffc0cceca828fd79751b43e44f451f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344382e302d626c75652e737667)](https://php.net/)

PhpWSDL2 is a modern PHP library for creating WSDL/SOAP web services with support for multiple protocols including SOAP, JSON, REST, XML-RPC, and HTTP. It provides automatic service description generation, client code generation, and comprehensive documentation features.

Features
--------

[](#features)

- 🚀 **Multiple Protocol Support**: SOAP, JSON, REST, XML-RPC, HTTP
- 📝 **Automatic Documentation**: HTML service descriptors and PDF generation
- 🔧 **Client Code Generation**: Generate clients for PHP, JavaScript, and more
- 🎯 **Modern PHP**: Built for PHP 8.0+ with strict typing
- 📦 **Framework Independent**: Works with any PHP application
- 🔍 **Reflection-Based**: Automatic service discovery using PHP reflection
- 🎨 **Professional Output**: Clean, well-formatted documentation and clients

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

[](#installation)

Install PhpWSDL2 via Composer:

```
composer require webair-srl/phpwsdl2
```

Quick Start
-----------

[](#quick-start)

### 1. Create Your Service Class

[](#1-create-your-service-class)

```
