Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Andriy Svirin committed Jan 27, 2021
1 parent ef6ae64 commit c0a0520
Show file tree
Hide file tree
Showing 25 changed files with 2 additions and 5 deletions.
Empty file modified .gitignore
100755 → 100644
Empty file.
Empty file modified .travis.yml
100755 → 100644
Empty file.
Empty file modified LICENSE
100755 → 100644
Empty file.
7 changes: 2 additions & 5 deletions README.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This tools convert MT942 formatted text to PHP objects. PHP library for parse MT942 format that uses Swift.
Banks uses MT942 format for payments data transition.
More details about MT942 format you can find in Internet.
Helper for [EBICS Client PHP](https://github.com/andrew-svirin/ebics-client-php)

### Installation
```bash
Expand All @@ -12,14 +13,10 @@ $ composer require andrew-svirin/mt942-php
andrew-svirin/mt942-php is licensed under the MIT License, see the LICENSE file for details

### Example
Include
```php
use AndrewSvirin\MT942\MT942Normalizer;
```
Normalize:
```php
$str = file_get_contents('path_to_file.mt942');
$normalizer = new MT942Normalizer();
$normalizer = new AndrewSvirin\MT942\MT942Normalizer();
$transactionList = $normalizer->normalize($str);
```
Validate:
Expand Down
Empty file modified composer.json
100755 → 100644
Empty file.
Empty file modified phpunit.xml
100755 → 100644
Empty file.
Empty file modified src/MT942Formatter.php
100755 → 100644
Empty file.
Empty file modified src/MT942Normalizer.php
100755 → 100644
Empty file.
Empty file modified src/MT942Validator.php
100755 → 100644
Empty file.
Empty file modified src/TransactionList.php
100755 → 100644
Empty file.
Empty file modified src/contracts/MT942FormatterInterface.php
100755 → 100644
Empty file.
Empty file modified src/contracts/MarkInterface.php
100755 → 100644
Empty file.
Empty file modified src/models/AccountIdentification.php
100755 → 100644
Empty file.
Empty file modified src/models/FloorLimitIndicator.php
100755 → 100644
Empty file.
Empty file modified src/models/Money.php
100755 → 100644
Empty file.
Empty file modified src/models/Statement.php
100755 → 100644
Empty file.
Empty file modified src/models/StatementInformation.php
100755 → 100644
Empty file.
Empty file modified src/models/StatementLine.php
100755 → 100644
Empty file.
Empty file modified src/models/StatementNumber.php
100755 → 100644
Empty file.
Empty file modified src/models/Summary.php
100755 → 100644
Empty file.
Empty file modified src/models/Transaction.php
100755 → 100644
Empty file.
Empty file modified tests/Unit/MT942Test.php
100755 → 100644
Empty file.
Empty file modified tests/_data/transaction.mt942
100755 → 100644
Empty file.
Empty file modified tests/_data/transactions.mt942
100755 → 100644
Empty file.
Empty file modified tests/bootstrap.php
100755 → 100644
Empty file.

0 comments on commit c0a0520

Please sign in to comment.