php2wsdl/php2wsdl

Create WSDL files form PHP classes.

Installs: 702

Dependents: 1

Stars: 10

Watchers: 2

Forks: 5

Open Issues: 1

Language: PHP

0.3 2015-03-19 22:52 UTC

README

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

Create WSDL files form PHP classes.

Install

Via Composer

$ composer require php2wsdl/php2wsdl

Usage

$class = "Vendor\\MyClass";
$serviceURI = "http://www.myservice.com/soap";
$wsdlGenerator = new PHPClass2WSDL($class, $serviceURI);
// Generate thw WSDL from the class adding only the public methods that have @soap annotation.
$wsdlGenerator->generateWSDL(true);
$wsdlXML = $wsdlGenerator->dump();

Testing

$ phpunit

Security

If you discover any security related issues, please email instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.