Skip to content

Commit 7f7445c

Browse files
committed
Change vendor.
1 parent 133a570 commit 7f7445c

File tree

262 files changed

+830
-833
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+830
-833
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019-2020 Andrew Svirin
3+
Copyright (c) 2019-2020 EBICS API
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# EBICS-CLIENT-PHP
22

3-
[![CI](https://github.com/andrew-svirin/ebics-client-php/actions/workflows/ci.yml/badge.svg)](https://github.com/andrew-svirin/ebics-client-php/actions/workflows/ci.yml)
4-
[![Latest Stable Version](https://poser.pugx.org/andrew-svirin/ebics-client-php/v/stable)](https://packagist.org/packages/andrew-svirin/ebics-client-php)
5-
[![Total Downloads](https://img.shields.io/packagist/dt/andrew-svirin/ebics-client-php.svg)](https://packagist.org/packages/andrew-svirin/ebics-client-php)
6-
[![License](https://poser.pugx.org/andrew-svirin/ebics-client-php/license)](https://packagist.org/packages/andrew-svirin/ebics-client-php)
3+
[![CI](https://github.com/ebics-api/ebics-client-php/actions/workflows/ci.yml/badge.svg)](https://github.com/ebics-api/ebics-client-php/actions/workflows/ci.yml)
4+
[![Latest Stable Version](https://poser.pugx.org/ebics-api/ebics-client-php/v/stable)](https://packagist.org/packages/ebics-api/ebics-client-php)
5+
[![Total Downloads](https://img.shields.io/packagist/dt/ebics-api/ebics-client-php.svg)](https://packagist.org/packages/ebics-api/ebics-client-php)
6+
[![License](https://poser.pugx.org/ebics-api/ebics-client-php/license)](https://packagist.org/packages/ebics-api/ebics-client-php)
77

88
<img src="https://www.ebics.org/typo3conf/ext/siz_ebicsorg_base/Resources/Public/Images/ebics-logo.png" width="300">
99

1010
PHP library to communicate with a bank through <a href="https://en.wikipedia.org/wiki/Electronic_Banking_Internet_Communication_Standard" target="_blank">EBICS</a> protocol.
11-
PHP EBICS Client - https://andrew-svirin.github.io/ebics-client-php/
11+
PHP EBICS Client - https://ebics-api.github.io/ebics-client-php/
1212
Supported PHP versions - PHP 7.2 - PHP 8.3
1313
Support EBICS versions: 2.4, 2.5, 3.0; Encryption versions: E002, X002, A005, A006; Switching EBICS T/TS
1414

@@ -29,12 +29,12 @@ EBICS Client can be deployed as a standalone service on a webserver or within a
2929

3030
## License
3131

32-
andrew-svirin/ebics-client-php is licensed under the MIT License, see the LICENSE file for details
32+
ebics-api/ebics-client-php is licensed under the MIT License, see the LICENSE file for details
3333

3434
## Installation
3535

3636
```bash
37-
$ composer require andrew-svirin/ebics-client-php
37+
$ composer require ebics-api/ebics-client-php
3838
```
3939

4040
## Initialize client
@@ -44,11 +44,11 @@ You will need to have this information from your Bank: `HostID`, `HostURL`, `Par
4444
```php
4545
<?php
4646

47-
use AndrewSvirin\Ebics\Services\FileKeyringManager;
48-
use AndrewSvirin\Ebics\Models\Bank;
49-
use AndrewSvirin\Ebics\Models\User;
50-
use AndrewSvirin\Ebics\EbicsClient;
51-
use AndrewSvirin\Ebics\Models\X509\BankX509Generator;
47+
use EbicsApi\Ebics\Services\FileKeyringManager;
48+
use EbicsApi\Ebics\Models\Bank;
49+
use EbicsApi\Ebics\Models\User;
50+
use EbicsApi\Ebics\EbicsClient;
51+
use EbicsApi\Ebics\Models\X509\BankX509Generator;
5252

5353
// Prepare `workspace` dir in the __PATH_TO_WORKSPACES_DIR__ manually.
5454
// "__EBICS_VERSION__" should have value "VERSION_30" for EBICS 3.0
@@ -82,14 +82,14 @@ if (!is_file($keyringPath)) {
8282
```php
8383
<?php
8484

85-
use AndrewSvirin\Ebics\Contracts\EbicsResponseExceptionInterface;
85+
use EbicsApi\Ebics\Contracts\EbicsResponseExceptionInterface;
8686

87-
/* @var \AndrewSvirin\Ebics\EbicsClient $client */
87+
/* @var \EbicsApi\Ebics\EbicsClient $client */
8888

8989
try {
9090
$client->INI();
91-
/* @var \AndrewSvirin\Ebics\Services\FileKeyringManager $keyringManager */
92-
/* @var \AndrewSvirin\Ebics\Models\Keyring $keyring */
91+
/* @var \EbicsApi\Ebics\Services\FileKeyringManager $keyringManager */
92+
/* @var \EbicsApi\Ebics\Models\Keyring $keyring */
9393
$keyringManager->saveKeyring($keyring, $keyringRealPath);
9494
} catch (EbicsResponseExceptionInterface $exception) {
9595
echo sprintf(
@@ -116,8 +116,8 @@ try {
116116
### 2. Generate a EBICS letter
117117

118118
```php
119-
/* @var \AndrewSvirin\Ebics\EbicsClient $client */
120-
$ebicsBankLetter = new \AndrewSvirin\Ebics\EbicsBankLetter();
119+
/* @var \EbicsApi\Ebics\EbicsClient $client */
120+
$ebicsBankLetter = new \EbicsApi\Ebics\EbicsBankLetter();
121121

122122
$bankLetter = $ebicsBankLetter->prepareBankLetter(
123123
$client->getBank(),
@@ -135,10 +135,10 @@ $pdf = $ebicsBankLetter->formatBankLetter($bankLetter, $ebicsBankLetter->createP
135135
```php
136136

137137
try {
138-
/* @var \AndrewSvirin\Ebics\EbicsClient $client */
138+
/* @var \EbicsApi\Ebics\EbicsClient $client */
139139
$client->HPB();
140-
/* @var \AndrewSvirin\Ebics\Services\FileKeyringManager $keyringManager */
141-
/* @var \AndrewSvirin\Ebics\Models\Keyring $keyring */
140+
/* @var \EbicsApi\Ebics\Services\FileKeyringManager $keyringManager */
141+
/* @var \EbicsApi\Ebics\Models\Keyring $keyring */
142142
$keyringManager->saveKeyring($keyring, $keyringRealPath);
143143
} catch (EbicsResponseExceptionInterface $exception) {
144144
echo sprintf(
@@ -192,8 +192,8 @@ try {
192192
| HVD | Download the state of a VEU order. |
193193
| HVT | Download detailed information about an order from VEU processing for which the user is authorized as a signatory. |
194194

195-
If you need to parse Cfonb 120, 240, 360 use [andrew-svirin/cfonb-php](https://github.com/andrew-svirin/cfonb-php)
196-
If you need to parse MT942 use [andrew-svirin/mt942-php](https://github.com/andrew-svirin/mt942-php)
195+
If you need to parse Cfonb 120, 240, 360 use [ebics-api/cfonb-php](https://github.com/ebics-api/cfonb-php)
196+
If you need to parse MT942 use [ebics-api/mt942-php](https://github.com/ebics-api/mt942-php)
197197

198198
## Keyring schema
199199
```json
@@ -236,6 +236,5 @@ If you need to parse MT942 use [andrew-svirin/mt942-php](https://github.com/andr
236236
- Format validators for all available ISO 20022 formats:
237237
- upload: PAIN.001, PAIN.008, MT101, TA875, CFONB320, CFONB160 with different versions.
238238
- download: PAIN.002, CAMT.052, CAMT.053, CAMT.054, MT199, MT900, MT910, MT940, MT942, CFONB240,CFONB245, CFONB120
239-
- Support import 3SKey certificates
240239
- Country's Bank specific order types
241240
- Refactor by abstraction Download and Upload Order types

composer.json

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "andrew-svirin/ebics-client-php",
2+
"name": "ebics-api/ebics-client-php",
33
"type": "library",
44
"description": "PHP library to communicate with bank through EBICS protocol.",
55
"keywords": [
@@ -31,8 +31,8 @@
3131
"ext-zlib": "*"
3232
},
3333
"require-dev": {
34-
"andrew-svirin/cfonb-php": "dev-master",
35-
"andrew-svirin/mt942-php": "dev-master",
34+
"ebics-api/cfonb-php": "^1.0",
35+
"ebics-api/mt942-php": "^1.0",
3636
"phpseclib/phpseclib": "~2.0.35",
3737
"phpstan/phpstan": "~1.9.17",
3838
"phpunit/phpunit": "~9.6.3",
@@ -43,20 +43,18 @@
4343
},
4444
"autoload": {
4545
"psr-4": {
46-
"AndrewSvirin\\Ebics\\": "src"
46+
"EbicsApi\\Ebics\\": "src"
4747
}
4848
},
4949
"autoload-dev": {
5050
"psr-4": {
51-
"AndrewSvirin\\Ebics\\Tests\\": "tests"
51+
"EbicsApi\\Ebics\\Tests\\": "tests"
5252
}
5353
},
5454
"suggest": {
55-
"andrew-svirin/cfonb-php": "If you need to parse format CFONB from FDL requests.",
56-
"andrew-svirin/mt942-php": "If you need to parse format MT942 from VMK, STA requests.",
57-
"setasign/fpdf": "If you need to generate PDF file letter for Bank.",
58-
"psr/http-client": "If you want use the PsrHttpClient",
59-
"psr/http-factory": "If you want use the PsrHttpClient"
55+
"ebics-api/cfonb-php": "If you need to parse format CFONB from FDL requests.",
56+
"ebics-api/mt942-php": "If you need to parse format MT942 from VMK, STA requests.",
57+
"setasign/fpdf": "If you need to generate PDF file letter for Bank."
6058
},
6159
"config": {
6260
"sort-packages": true

src/Builders/CustomerCreditTransfer/CustomerCreditTransferBuilder.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?php
22

3-
namespace AndrewSvirin\Ebics\Builders\CustomerCreditTransfer;
3+
namespace EbicsApi\Ebics\Builders\CustomerCreditTransfer;
44

5-
use AndrewSvirin\Ebics\Contracts\PostalAddressInterface;
6-
use AndrewSvirin\Ebics\Handlers\Traits\XPathTrait;
7-
use AndrewSvirin\Ebics\Models\CustomerCreditTransfer;
8-
use AndrewSvirin\Ebics\Services\DOMHelper;
9-
use AndrewSvirin\Ebics\Services\RandomService;
5+
use EbicsApi\Ebics\Contracts\PostalAddressInterface;
6+
use EbicsApi\Ebics\Handlers\Traits\XPathTrait;
7+
use EbicsApi\Ebics\Models\CustomerCreditTransfer;
8+
use EbicsApi\Ebics\Services\DOMHelper;
9+
use EbicsApi\Ebics\Services\RandomService;
1010
use DateTime;
1111
use DOMElement;
1212
use InvalidArgumentException;
1313

1414
/**
15-
* Class CustomerCreditTransferBuilder builder for model @see \AndrewSvirin\Ebics\Models\CustomerCreditTransfer
15+
* Class CustomerCreditTransferBuilder builder for model @see \EbicsApi\Ebics\Models\CustomerCreditTransfer
1616
*
1717
* https://www.six-group.com/dam/download/banking-services/interbank-clearing/en/standardization/iso/swiss-recommendations/implementation-guidelines-ct.pdf
1818
* https://www.six-group.com/dam/download/banking-services/interbank-clearing/de/standardization/iso/swiss-recommendations/archives/implementation-guidelines-ct/implementation-guidelines-ct_v1_6_1.pdf

src/Builders/CustomerCreditTransfer/CustomerInstantCreditTransferBuilder.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?php
22

3-
namespace AndrewSvirin\Ebics\Builders\CustomerCreditTransfer;
3+
namespace EbicsApi\Ebics\Builders\CustomerCreditTransfer;
44

5-
use AndrewSvirin\Ebics\Handlers\Traits\XPathTrait;
6-
use AndrewSvirin\Ebics\Models\CustomerCreditTransfer;
7-
use AndrewSvirin\Ebics\Services\DOMHelper;
8-
use AndrewSvirin\Ebics\Services\RandomService;
5+
use EbicsApi\Ebics\Handlers\Traits\XPathTrait;
6+
use EbicsApi\Ebics\Models\CustomerCreditTransfer;
7+
use EbicsApi\Ebics\Services\DOMHelper;
8+
use EbicsApi\Ebics\Services\RandomService;
99
use DateTime;
1010

1111
/**
1212
* Class CustomerInstantCreditTransferBuilder builder for model
13-
* @see \AndrewSvirin\Ebics\Models\CustomerInstantCreditTransfer
13+
* @see \EbicsApi\Ebics\Models\CustomerInstantCreditTransfer
1414
*
1515
* @license http://www.opensource.org/licenses/mit-license.html MIT License
1616
* @author Linus Holtstiege

src/Builders/CustomerCreditTransfer/CustomerSwissCreditTransferBuilder.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?php
22

3-
namespace AndrewSvirin\Ebics\Builders\CustomerCreditTransfer;
3+
namespace EbicsApi\Ebics\Builders\CustomerCreditTransfer;
44

5-
use AndrewSvirin\Ebics\Contracts\PostalAddressInterface;
6-
use AndrewSvirin\Ebics\Handlers\Traits\XPathTrait;
7-
use AndrewSvirin\Ebics\Models\CustomerCreditTransfer;
8-
use AndrewSvirin\Ebics\Services\DOMHelper;
9-
use AndrewSvirin\Ebics\Services\RandomService;
5+
use EbicsApi\Ebics\Contracts\PostalAddressInterface;
6+
use EbicsApi\Ebics\Handlers\Traits\XPathTrait;
7+
use EbicsApi\Ebics\Models\CustomerCreditTransfer;
8+
use EbicsApi\Ebics\Services\DOMHelper;
9+
use EbicsApi\Ebics\Services\RandomService;
1010
use DateTime;
1111
use DOMElement;
1212
use InvalidArgumentException;
1313

1414
/**
15-
* Class CustomerSwissCreditTransferBuilder builder for model @see \AndrewSvirin\Ebics\Models\CustomerCreditTransfer
15+
* Class CustomerSwissCreditTransferBuilder builder for model @see \EbicsApi\Ebics\Models\CustomerCreditTransfer
1616
*
1717
* https://www.six-group.com/dam/download/banking-services/interbank-clearing/en/standardization/iso/swiss-recommendations/implementation-guidelines-ct.pdf
1818
* https://www.six-group.com/dam/download/banking-services/interbank-clearing/de/standardization/iso/swiss-recommendations/archives/implementation-guidelines-ct/implementation-guidelines-ct_v1_6_1.pdf

src/Builders/CustomerDirectDebit/CustomerDirectDebitBuilder.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?php
22

3-
namespace AndrewSvirin\Ebics\Builders\CustomerDirectDebit;
3+
namespace EbicsApi\Ebics\Builders\CustomerDirectDebit;
44

5-
use AndrewSvirin\Ebics\Handlers\Traits\XPathTrait;
6-
use AndrewSvirin\Ebics\Models\CustomerDirectDebit;
7-
use AndrewSvirin\Ebics\Services\DOMHelper;
8-
use AndrewSvirin\Ebics\Services\RandomService;
5+
use EbicsApi\Ebics\Handlers\Traits\XPathTrait;
6+
use EbicsApi\Ebics\Models\CustomerDirectDebit;
7+
use EbicsApi\Ebics\Services\DOMHelper;
8+
use EbicsApi\Ebics\Services\RandomService;
99
use DateTime;
1010

1111
/**
12-
* Class CustomerDirectDebitBuilder builder for model @see \AndrewSvirin\Ebics\Models\CustomerDirectDebit
12+
* Class CustomerDirectDebitBuilder builder for model @see \EbicsApi\Ebics\Models\CustomerDirectDebit
1313
*
1414
* @license http://www.opensource.org/licenses/mit-license.html MIT License
1515
* @author Andrew Svirin

src/Builders/Request/BodyBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace AndrewSvirin\Ebics\Builders\Request;
3+
namespace EbicsApi\Ebics\Builders\Request;
44

55
use Closure;
66
use DOMDocument;

src/Builders/Request/BodyBuilderV2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace AndrewSvirin\Ebics\Builders\Request;
3+
namespace EbicsApi\Ebics\Builders\Request;
44

55
use Closure;
66

src/Builders/Request/BodyBuilderV3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace AndrewSvirin\Ebics\Builders\Request;
3+
namespace EbicsApi\Ebics\Builders\Request;
44

55
use Closure;
66

0 commit comments

Comments
 (0)