Code Monkey home page Code Monkey logo

wsdl2phpgenerator's Introduction

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, @jrbasso, @dypa, @Lafriks, @SamMousa, @garex and @kasperg.

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

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.5.1.phar from the latest release
  2. Run php wsdl2phpgenerator-2.5.1.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.5.1" 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.

wsdl2phpgenerator's People

Contributors

kasperg avatar walle avatar chriskl avatar statik-olmo-archived avatar ecolinet avatar rsully avatar garex avatar naxoc avatar jrbasso avatar lafriks avatar sammousa avatar xstefanox avatar nuth avatar

Watchers

Vyacheslav avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.