Skip to content

Commit

Permalink
Fixed nusoap for PHP 8.1 and update READMe document
Browse files Browse the repository at this point in the history
  • Loading branch information
hungnguyenhp committed May 24, 2022
1 parent 78fbd2f commit dd4e13a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Step 1: Install packages
composer require nguyenanhung/nusoap
```

Step 2: Init to Project
Step 2.1: Init to Project if PHP <= 7.0

```php
<?php
Expand All @@ -25,6 +25,15 @@ use nguyenanhung\MyNuSOAP\nusoap_client;
$client = new nusoap_client();
```

Step 2.2: Init to Project if PHP <= 8.1

```php
<?php
require '/your/to/path/vendor/autoload.php';
use nguyenanhung\MyFixNuSOAP\nusoap_client;
$client = new nusoap_client();
```

## Contact

If any question & request, please contact following information
Expand Down

0 comments on commit dd4e13a

Please sign in to comment.