Skip to content
Simple utility and class library for generating php classes from a wsdl file.
PHP Shell
Pull request Compare This branch is 1 commit ahead, 354 commits behind wsdl2phpgenerator:master.
Latest commit 918e753 @walle Update


The main repository have been moved to wsdl2phpgenerator/wsdl2phpgenerator

Build Status Coverage Status

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

Uses the MIT licence


Originally developed by Fredrik Wallgren,

Includes bugfixes and improvements from:

This fork has been created in an attempt to merge changes in forks of wsdl2phpgenerator which has never made it back into the original repository.

Pull requests are very welcome.


Use the executable or the Generator class directly.


./wsdl2php -i input.wsdl -o /tmp/my/directory/wsdl

The directory is created if possible.

usage listed under ./wsdl2php -h


require_once __DIR__."/path/here/Generator.php";

$generator = Generator::instance();
$generator->setDisplayCallback( function( $msg ) {
    echo "{$msg}\n";
    new Config( SOAPSERVICE, SOAPDIR ) 
Something went wrong with that request. Please try again.