Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple utility and class library for generating php classes from a wsdl file.
PHP

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
cli
phpSource
tests/cli
LICENSE
README
Wsdl2PhpConfig.php
Wsdl2PhpException.php
Wsdl2PhpGenerator.php
Wsdl2PhpValidationException.php
Wsdl2PhpValidator.php
wsdl2php

README

README

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

Uses the MIT licence (http://www.opensource.org/licenses/mit-license.php)

Usage:
Use the executable (uses #!/usr/bin/php so change this first if you have php installed elsewhere) or use the Generator class directly.

Usage executable:
./wsdl2php -i input.wsdl -o /tmp/my/directory/wsdl

The directory is created if possible.

usage listed under ./wsdl2php -h

Usage code:
<?php
$config = new Wsdl2PhpConfig($inputFile, $outputDir);
$generator = new Wsdl2PhpGenerator();
$generator->generate($config);
?>
Something went wrong with that request. Please try again.