Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
BolZer committed Mar 8, 2024
1 parent e500353 commit 72352f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ $xml = Builder::create()->getXML($doc);
echo $xml; // Zugferd XML.
```

## Usage ZUGFeRD v2.1
## Usage ZUGFeRD v2

Convert XML to PHP Objects:

```php
use Easybill\ZUGFeRD211\Reader;
use Easybill\ZUGFeRD2\Reader;

$xml = file_get_contents('factur-x.xml');
$obj = Reader::create()->transform($xml);
Expand All @@ -54,7 +54,7 @@ $obj = Reader::create()->transform($xml);
Convert PHP Objects to XML:

```php
use Easybill\ZUGFeRD211\Builder;
use Easybill\ZUGFeRD2\Builder;

$obj = ...;

Expand Down

0 comments on commit 72352f1

Please sign in to comment.