Skip to content

Commit

Permalink
Add some README information
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo Sousa committed Aug 14, 2019
1 parent abed281 commit 28f2d5f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ composer require mrleonix/boleto-reader
The `create` function returns a `Boleto` instance.

```php
$boletoNumber = '34190.00000 00000.000003 41000.000000 0 44442000005025';
$boletoNumber = '34190.00000 00000.000003 41000.000000 0 44442000005025'; // Bank boleto type
$boleto = Boleto::create($boletoNumber);

$boletoNumber = '84670000001-7 43590024020-9 02405000243-5 84221010811-9'; // Dealership boleto type
$boletoTwo = Boleto::create($boletoNumber);
```

Then you can access `Boleto` information as following:
Expand Down

0 comments on commit 28f2d5f

Please sign in to comment.