Skip to content

Commit

Permalink
Fix composer package name and add generation examples in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Caffe1neAdd1ct committed Apr 3, 2019
1 parent 96e7ac2 commit af33806
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,18 @@ if ($get->getStockAvailability($stockQuery) !== false) {
#}

```

## Generated with

### PHP 5

```
php56 wsdltophp-php5.phar generate:package --urlorpath="https://webservices.trwaftermarket.com/eos/v1/DistributorWebService.asmx?wsdl" --destination="./trwsdk" --composer-name="aceparts/trw-soap-php-sdk" --namespace="AceParts\Trw" --force
```

### PHP 7


```
php wsdltophp-php7.phar generate:package --urlorpath="https://webservices.trwaftermarket.com/eos/v1/DistributorWebService.asmx?wsdl" --destination="./trwsdk" --composer-name="aceparts/trw-soap-php-sdk" --namespace="AceParts\Trw" --force
```
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "trw-soap-php-sdk",
"name": "aceparts/trw-soap-php-sdk",
"description": "Package generated from https://webservices.trwaftermarket.com/eos/v1/DistributorWebService.asmx?wsdl using wsdltophp/packagegenerator",
"require": {
"php": ">=5.3.3",
Expand Down

0 comments on commit af33806

Please sign in to comment.