Skip to content

wsdl2phpgenerator command line application *work-in-progress*

License

Notifications You must be signed in to change notification settings

zachar-maximov/wsdl2phpgenerator-cli

 
 

Repository files navigation

wsdl2phpgenerator-cli

Work in progress!

Build Status Code Coverage Scrutinizer Code Quality

Command line application wrapper for the wsdl2phpgenerator library. Takes a WSDL file and outputs PHP class files ready to use.

Installation

Use the phar version or install the wsdl2phpgenerator-cli as dev-dependency to your project

composer require wsdl2phpgenerator/wsdl2phpgenerator-cli --dev

Usage

When installed with composer use:

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

or

vendor/bin/wsdl2php -i "http://www.webservicex.net/CurrencyConvertor.asmx?WSDL" -o tmp/phub -ns=My\\NameSpace\\Entity --soapClientClass=\\My\\NameSpace\\SoapClient

To use the phar version of wsdl2phpgenerator follow these steps:

  1. Download wsdl2phpgenerator-3.4.0.phar
  2. Run php wsdl2phpgenerator-3.4.0.phar -i input.wsdl -o tmp/my/directory/wsdl

The directory is created if possible.

Contributors

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

Versioning

This project mirrors the versioning of the wsdl2phpgenerator library. A new release of the library will incur a new release of the CLI app with a similar name.

Licence

Uses the MIT licence.

todo

  • tag dev-master as 2.5.5
  • edit readme old version hint
  • edit readme for phar usage and composer usage
  • phpcs

About

wsdl2phpgenerator command line application *work-in-progress*

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.6%
  • Batchfile 0.4%