Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

zumba/wsdl2phpgenerator

This branch is 4 commits ahead of, 293 commits behind wsdl2phpgenerator/wsdl2phpgenerator:master.

Folders and files

NameName
Last commit message
Last commit date
Dec 23, 2013
Jan 16, 2014
Jan 28, 2014
Jan 1, 2014
Jan 1, 2014
Dec 16, 2013
Jan 8, 2014
Apr 7, 2011
Jan 28, 2014
Nov 28, 2013
Jan 1, 2014
Mar 26, 2022
Oct 19, 2023
Jan 28, 2014
Nov 8, 2013
Nov 8, 2013
Jan 8, 2014

Repository files navigation

wsdl2phpgenerator

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 licence.

Contributors

Originally developed by @walle and includes bugfixes and improvements from @vakopian, @statikbe, @ecolinet, @nuth, @chriskl, @RSully, @dypa and @kasperg.

Pull requests are very welcome.

Mailing list

There is a mailing list for the project at https://groups.google.com/forum/#!forum/wsdl2phpgenerator

Usage

Standalone executable

  1. Download wsdl2phpgenerator-2.2.2.phar from the latest release
  2. Run php wsdl2phpgenerator-2.2.2.phar -i input.wsdl -o tmp/my/directory/wsdl

The directory is created if possible.

Usage is listed under ./wsdl2php -h

Executable in Composer project

  1. Add "wsdl2phpgenerator/wsdl2phpgenerator": "2.2.2" to the require or require-dev section of your composer.json file
  2. Run composer update
  3. Run ./vendor/bin/wsdl2php -i input.wsdl -o tmp/my/directory/wsdl

The directory is created if possible.

Usage is listed under ./vendor/bin/wsdl2php -h

Code

<?php
// Map 'src' and 'lib' folders to the Wsdl2PhpGenerator namespace in your
// favorite PSR-0 compatible classloader or require the files manually.

$generator = new \Wsdl2PhpGenerator\Generator();
$generator->generate(
	new \Wsdl2PhpGenerator\Config( SOAPSERVICE, SOAPDIR )
);
?>

Versioning

This project aims to use semantic versioning. The following consitutes the public API:

  • \Wsdl2PhpGenerator\GeneratorInterface
  • \Wsdl2PhpGenerator\ConfigInterface

Changes to these means that the major version will be increased. Additional features and bug fixes increate minor and patch versions.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.9%
  • Batchfile 0.1%