Work in progress!
Command line application wrapper for the wsdl2phpgenerator library. Takes a WSDL file and outputs PHP class files ready to use.
Use the phar version or install the wsdl2phpgenerator-cli as dev-dependency to your project
composer require wsdl2phpgenerator/wsdl2phpgenerator-cli --dev
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:
- Download wsdl2phpgenerator-3.4.0.phar
- Run
php wsdl2phpgenerator-3.4.0.phar -i input.wsdl -o tmp/my/directory/wsdl
The directory is created if possible.
See contributors.
Pull requests are very welcome. Please read our guidelines for contributing.
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.
Uses the MIT licence.
- tag dev-master as 2.5.5
- edit readme old version hint
- edit readme for phar usage and composer usage
- phpcs