This package is abandoned and no longer maintained. No replacement package was suggested.

Simple class library for generating php classes from a wsdl file.

3.4.0 2016-10-30 21:02 UTC


Latest Stable Version Build Status Code Coverage Scrutinizer Quality Score Dependency Status

Simple WSDL to PHP classes converter. Takes a WSDL file and outputs class files ready to use.

Uses the MIT license.

Maintenance status

This is no longer actively maintained.

If you are looking for a PHP library to work with SOAP, you might want to try phpro/soap-client.

If you are currently using wsdl2phpgenerator and want to continue using it, consider forking the project and maintain it yourself.

New major version: 3

A new major version of wsdl2phpgenerator has recently been released: 3

This introduces changes to both configuration and generated code. The changes makes it more flexible to use, easier to include in other projects, promotes contributions and reduces maintenance.

2.x users are encourage to read a walkthrough of what is new in 3.0.


Add wsdl2phpgenerator to your project using composer:

composer require wsdl2phpgenerator/wsdl2phpgenerator


Originally developed by @walle and includes bug fixes and improvements from various contributors.


Pull requests are very welcome. Please read our guidelines for contributing.

Be sure to run the test suite, the fixers and the analyzers

composer test
composer fix
composer analyse

Usage and options

See usage and options for info on the usage of this package.


This project uses semantic versioning. The following constitutes the public API:

  • \Wsdl2PhpGenerator\GeneratorInterface
  • \Wsdl2PhpGenerator\ConfigInterface
  • Generated code

Backwards incompatible changes to these means that the major version will be increased. Additional features and bug fixes increase minor and patch versions.