Skip to content

Commit 306807c

Browse files
committedJan 4, 2025
Update to new REGON API implementing PKD2025
1 parent 7c9fcb8 commit 306807c

25 files changed

+212
-53
lines changed
 

‎NIP24/AccountStatus.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the 'License');
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/AllData.php

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the 'License');
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

@@ -64,6 +64,8 @@ class AllData extends InvoiceData
6464

6565
public $endDate;
6666

67+
public $deletionDate;
68+
6769
public $registryEntityCode;
6870

6971
public $registryEntityName;
@@ -141,6 +143,7 @@ public function __toString()
141143
. ', renevalDate = ' . $this->renevalDate
142144
. ', lastUpdateDate = ' . $this->lastUpdateDate
143145
. ', endDate = ' . $this->endDate
146+
. ', deletionDate = ' . $this->deletionDate
144147

145148
. ', registryEntityCode = ' . $this->registryEntityCode
146149
. ', registryEntityName = ' . $this->registryEntityName

‎NIP24/BusinessPartner.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the 'License');
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/EUVAT.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/Error.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/IBAN.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/IBANStatus.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the 'License');
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/InvoiceData.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the 'License');
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/KRS.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/Model/PKD.php

+39-5
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ class PKD implements ModelInterface, ArrayAccess
5858
protected static $swaggerTypes = [
5959
'code' => 'string',
6060
'description' => 'string',
61-
'primary' => 'bool' ];
61+
'primary' => 'bool',
62+
'version' => 'string'];
6263

6364
/**
6465
* Array of property to format mappings. Used for (de)serialization
@@ -68,7 +69,8 @@ class PKD implements ModelInterface, ArrayAccess
6869
protected static $swaggerFormats = [
6970
'code' => null,
7071
'description' => null,
71-
'primary' => null ];
72+
'primary' => null,
73+
'version' => null];
7274

7375
/**
7476
* Array of property to type mappings. Used for (de)serialization
@@ -99,7 +101,8 @@ public static function swaggerFormats()
99101
protected static $attributeMap = [
100102
'code' => 'code',
101103
'description' => 'description',
102-
'primary' => 'primary' ];
104+
'primary' => 'primary',
105+
'version' => 'version'];
103106

104107
/**
105108
* Array of attributes to setter functions (for deserialization of responses)
@@ -109,7 +112,8 @@ public static function swaggerFormats()
109112
protected static $setters = [
110113
'code' => 'setCode',
111114
'description' => 'setDescription',
112-
'primary' => 'setPrimary' ];
115+
'primary' => 'setPrimary',
116+
'version' => 'setVersion'];
113117

114118
/**
115119
* Array of attributes to getter functions (for serialization of requests)
@@ -119,7 +123,8 @@ public static function swaggerFormats()
119123
protected static $getters = [
120124
'code' => 'getCode',
121125
'description' => 'getDescription',
122-
'primary' => 'getPrimary' ];
126+
'primary' => 'getPrimary',
127+
'version' => 'getVersion'];
123128

124129
/**
125130
* Array of attributes where the key is the local name,
@@ -182,6 +187,7 @@ public function __construct(array $data = null)
182187
$this->container['code'] = isset($data['code']) ? $data['code'] : null;
183188
$this->container['description'] = isset($data['description']) ? $data['description'] : null;
184189
$this->container['primary'] = isset($data['primary']) ? $data['primary'] : null;
190+
$this->container['version'] = isset($data['version']) ? $data['version'] : null;
185191
}
186192

187193
/**
@@ -202,6 +208,9 @@ public function listInvalidProperties()
202208
if ($this->container['primary'] === null) {
203209
$invalidProperties[] = "'primary' can't be null";
204210
}
211+
if ($this->container['version'] === null) {
212+
$invalidProperties[] = "'version' can't be null";
213+
}
205214
return $invalidProperties;
206215
}
207216

@@ -288,6 +297,31 @@ public function setPrimary($primary)
288297

289298
return $this;
290299
}
300+
301+
/**
302+
* Gets version
303+
*
304+
* @return string
305+
*/
306+
public function getVersion()
307+
{
308+
return $this->container['version'];
309+
}
310+
311+
/**
312+
* Sets version
313+
*
314+
* @param string $version version
315+
*
316+
* @return $this
317+
*/
318+
public function setVersion($version)
319+
{
320+
$this->container['version'] = $version;
321+
322+
return $this;
323+
}
324+
291325
/**
292326
* Returns true if offset exists. False otherwise.
293327
*

‎NIP24/NIP.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/NIP24Client.php

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

@@ -26,7 +26,7 @@
2626
*/
2727
class NIP24Client
2828
{
29-
const VERSION = '1.4.1';
29+
const VERSION = '1.4.3';
3030

3131
const PRODUCTION_URL = 'https://www.nip24.pl/api';
3232
const TEST_URL = 'https://www.nip24.pl/api-test';
@@ -391,6 +391,7 @@ public function getAllDataExt($type, $number, $force = true)
391391
$data->renevalDate = $this->xpathDateTime($doc, '/result/firm/renevalDate/text()');
392392
$data->lastUpdateDate = $this->xpathDateTime($doc, '/result/firm/lastUpdateDate/text()');
393393
$data->endDate = $this->xpathDateTime($doc, '/result/firm/endDate/text()');
394+
$data->deletionDate = $this->xpathDateTime($doc, '/result/firm/deletionDate/text()');
394395

395396
$data->registryEntityCode = $this->xpath($doc, '/result/firm/registryEntity/code/text()');
396397
$data->registryEntityName = $this->xpath($doc, '/result/firm/registryEntity/name/text()');
@@ -441,11 +442,13 @@ public function getAllDataExt($type, $number, $force = true)
441442

442443
$descr = $this->xpath($doc, '/result/firm/PKDs/PKD[' . $i . ']/description/text()');
443444
$pri = $this->xpath($doc, '/result/firm/PKDs/PKD[' . $i . ']/primary/text()');
445+
$ver = $this->xpath($doc, '/result/firm/PKDs/PKD[' . $i . ']/version/text()');
444446

445447
$pkd = new PKD();
446448
$pkd->code = $code;
447449
$pkd->description = $descr;
448450
$pkd->primary = ($pri == 'true' ? true : false);
451+
$pkd->version = $ver;
449452

450453
$data->pkd[] = $pkd;
451454
}

‎NIP24/Number.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/ObjectSerializer.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/PKD.php

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the 'License');
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

@@ -32,6 +32,8 @@ class PKD
3232

3333
public $primary;
3434

35+
public $version;
36+
3537
/**
3638
* Get object data as string
3739
* @return string
@@ -41,6 +43,7 @@ public function __toString()
4143
return 'PKD: [primary = ' . ($this->primary ? 'true' : 'false')
4244
. ', code = ' . $this->code
4345
. ', description = ' . $this->description
46+
. ', version = ' . $this->version
4447
. ']';
4548
}
4649
}

‎NIP24/REGON.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/SearchResult.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/VATEntity.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/VATPerson.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/VATStatus.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the 'License');
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/VIESData.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the 'License');
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/WLStatus.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright 2015-2024 NETCAT (www.netcat.pl)
3+
* Copyright 2015-2025 NETCAT (www.netcat.pl)
44
*
55
* Licensed under the Apache License, Version 2.0 (the 'License');
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*
1717
* @author NETCAT <firma@netcat.pl>
18-
* @copyright 2015-2024 NETCAT (www.netcat.pl)
18+
* @copyright 2015-2025 NETCAT (www.netcat.pl)
1919
* @license http://www.apache.org/licenses/LICENSE-2.0
2020
*/
2121

‎NIP24/cacert.pem

+117-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
##
22
## Bundle of CA Root Certificates
33
##
4-
## Certificate data from Mozilla as of: Mon Mar 11 15:25:27 2024 GMT
4+
## Certificate data from Mozilla as of: Tue Nov 26 13:58:25 2024 GMT
5+
##
6+
## Find updated versions here: https://curl.se/docs/caextract.html
57
##
68
## This is a bundle of X.509 certificates of public Certificate Authorities
79
## (CA). These were automatically extracted from Mozilla's root certificates
@@ -14,7 +16,7 @@
1416
## Just configure this file as the SSLCACertificateFile.
1517
##
1618
## Conversion done with mk-ca-bundle.pl version 1.29.
17-
## SHA256: 4d96bd539f4719e9ace493757afbe4a23ee8579de1c97fbebc50bba3c12e8c1e
19+
## SHA256: 36105b01631f9fc03b1eca779b44a30a1a5890b9bf8dc07ccb001a07301e01cf
1820
##
1921

2022

@@ -3579,3 +3581,116 @@ wPfc5+pbrrLMtTWGS9DiP7bY+A4A7l3j941Y/8+LN+ljX273CXE2whJdV/LItM3z7gLfEdxquVeE
35793581
HVlNjM7IDiPCtyaaEBRx/pOyiriA8A4QntOoUAw3gi/q4Iqd4Sw5/7W0cwDk90imc6y/st53BIe0
35803582
o82bNSQ3+pCTE4FCxpgmdTdmQRCsu/WU48IxK63nI1bMNSWSs1A=
35813583
-----END CERTIFICATE-----
3584+
3585+
FIRMAPROFESIONAL CA ROOT-A WEB
3586+
==============================
3587+
-----BEGIN CERTIFICATE-----
3588+
MIICejCCAgCgAwIBAgIQMZch7a+JQn81QYehZ1ZMbTAKBggqhkjOPQQDAzBuMQswCQYDVQQGEwJF
3589+
UzEcMBoGA1UECgwTRmlybWFwcm9mZXNpb25hbCBTQTEYMBYGA1UEYQwPVkFURVMtQTYyNjM0MDY4
3590+
MScwJQYDVQQDDB5GSVJNQVBST0ZFU0lPTkFMIENBIFJPT1QtQSBXRUIwHhcNMjIwNDA2MDkwMTM2
3591+
WhcNNDcwMzMxMDkwMTM2WjBuMQswCQYDVQQGEwJFUzEcMBoGA1UECgwTRmlybWFwcm9mZXNpb25h
3592+
bCBTQTEYMBYGA1UEYQwPVkFURVMtQTYyNjM0MDY4MScwJQYDVQQDDB5GSVJNQVBST0ZFU0lPTkFM
3593+
IENBIFJPT1QtQSBXRUIwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAARHU+osEaR3xyrq89Zfe9MEkVz6
3594+
iMYiuYMQYneEMy3pA4jU4DP37XcsSmDq5G+tbbT4TIqk5B/K6k84Si6CcyvHZpsKjECcfIr28jlg
3595+
st7L7Ljkb+qbXbdTkBgyVcUgt5SjYzBhMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUk+FD
3596+
Y1w8ndYn81LsF7Kpryz3dvgwHQYDVR0OBBYEFJPhQ2NcPJ3WJ/NS7Beyqa8s93b4MA4GA1UdDwEB
3597+
/wQEAwIBBjAKBggqhkjOPQQDAwNoADBlAjAdfKR7w4l1M+E7qUW/Runpod3JIha3RxEL2Jq68cgL
3598+
cFBTApFwhVmpHqTm6iMxoAACMQD94vizrxa5HnPEluPBMBnYfubDl94cT7iJLzPrSA8Z94dGXSaQ
3599+
pYXFuXqUPoeovQA=
3600+
-----END CERTIFICATE-----
3601+
3602+
TWCA CYBER Root CA
3603+
==================
3604+
-----BEGIN CERTIFICATE-----
3605+
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
3630+
-----END CERTIFICATE-----
3631+
3632+
SecureSign Root CA12
3633+
====================
3634+
-----BEGIN CERTIFICATE-----
3635+
M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mlHJzWhhpmA8zNL4WukJsPvdFlseqJkth5Ew1DgDzk9qTPxpfPS
3649+
vWKErI4cqc1avTc7bgoitPQV55FYxTpE05Uo2cBl6XLK0A+9H7MV2anjpEcJnuDLN/v9vZfVvhga
3650+
aaI5gdka9at/yOPiZwud9AzqVN/Ssq+xIvEg37xEHA==
3651+
-----END CERTIFICATE-----
3652+
3653+
SecureSign Root CA14
3654+
====================
3655+
-----BEGIN CERTIFICATE-----
3656+
MIIFcjCCA1qgAwIBAgIUZNtaDCBO6Ncpd8hQJ6JaJ90t8sswDQYJKoZIhvcNAQEMBQAwUTELMAkG
3657+
A1UEBhMCSlAxIzAhBgNVBAoTGkN5YmVydHJ1c3QgSmFwYW4gQ28uLCBMdGQuMR0wGwYDVQQDExRT
3658+
ZWN1cmVTaWduIFJvb3QgQ0ExNDAeFw0yMDA0MDgwNzA2MTlaFw00NTA0MDgwNzA2MTlaMFExCzAJ
3659+
BgNVBAYTAkpQMSMwIQYDVQQKExpDeWJlcnRydXN0IEphcGFuIENvLiwgTHRkLjEdMBsGA1UEAxMU
3660+
U2VjdXJlU2lnbiBSb290IENBMTQwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDF0nqh
3661+
1oq/FjHQmNE6lPxauG4iwWL3pwon71D2LrGeaBLwbCRjOfHw3xDG3rdSINVSW0KZnvOgvlIfX8xn
3662+
bacuUKLBl422+JX1sLrcneC+y9/3OPJH9aaakpUqYllQC6KxNedlsmGy6pJxaeQp8E+BgQQ8sqVb
3663+
1MWoWWd7VRxJq3qdwudzTe/NCcLEVxLbAQ4jeQkHO6Lo/IrPj8BGJJw4J+CDnRugv3gVEOuGTgpa
3664+
/d/aLIJ+7sr2KeH6caH3iGicnPCNvg9JkdjqOvn90Ghx2+m1K06Ckm9mH+Dw3EzsytHqunQG+bOE
3665+
kJTRX45zGRBdAuVwpcAQ0BB8b8VYSbSwbprafZX1zNoCr7gsfXmPvkPx+SgojQlD+Ajda8iLLCSx
3666+
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NTfxPWQrqaA0k89jL9WB365jJ6UeTo3cKXhZ+PmhIIynJkBugnLN
3680+
eLLIjzwec+fBH7/PzqUqm9tEZDKgu39cJRNItX+S
3681+
-----END CERTIFICATE-----
3682+
3683+
SecureSign Root CA15
3684+
====================
3685+
-----BEGIN CERTIFICATE-----
3686+
MIICIzCCAamgAwIBAgIUFhXHw9hJp75pDIqI7fBw+d23PocwCgYIKoZIzj0EAwMwUTELMAkGA1UE
3687+
BhMCSlAxIzAhBgNVBAoTGkN5YmVydHJ1c3QgSmFwYW4gQ28uLCBMdGQuMR0wGwYDVQQDExRTZWN1
3688+
cmVTaWduIFJvb3QgQ0ExNTAeFw0yMDA0MDgwODMyNTZaFw00NTA0MDgwODMyNTZaMFExCzAJBgNV
3689+
BAYTAkpQMSMwIQYDVQQKExpDeWJlcnRydXN0IEphcGFuIENvLiwgTHRkLjEdMBsGA1UEAxMUU2Vj
3690+
dXJlU2lnbiBSb290IENBMTUwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQLUHSNZDKZmbPSYAi4Io5G
3691+
dCx4wCtELW1fHcmuS1Iggz24FG1Th2CeX2yF2wYUleDHKP+dX+Sq8bOLbe1PL0vJSpSRZHX+AezB
3692+
2Ot6lHhWGENfa4HL9rzatAy2KZMIaY+jQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQD
3693+
AgEGMB0GA1UdDgQWBBTrQciu/NWeUUj1vYv0hyCTQSvT9DAKBggqhkjOPQQDAwNoADBlAjEA2S6J
3694+
fl5OpBEHvVnCB96rMjhTKkZEBhd6zlHp4P9mLQlO4E/0BdGF9jVg3PVys0Z9AjBEmEYagoUeYWmJ
3695+
SwdLZrWeqrqgHkHZAXQ6bkU6iYAZezKYVWOr62Nuk22rGwlgMU4=
3696+
-----END CERTIFICATE-----

‎composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "nip24/client",
3+
"version": "1.4.3",
34
"description": "NIP24 Client for PHP",
45
"type": "library",
56
"keywords": [ "nip24", "api", "vat", "nip", "regon", "krs", "iban", "whitelist", "ceidg", "gus", "eu", "vies", "validator" ],
@@ -16,7 +17,7 @@
1617
"psr-4": { "NIP24\\": "NIP24/" }
1718
},
1819
"require": {
19-
"php": ">=5.6",
20+
"php": ">=7.3",
2021
"ext-simplexml": "*",
2122
"ext-openssl": "*",
2223
"ext-curl": "*",

‎example.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<!DOCTYPE html>
2-
<html xmlns="http://www.w3.org/1999/xhtml">
1+
<!doctype html>
2+
<html lang="pl">
33
<head>
44
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
55

0 commit comments

Comments
 (0)
Please sign in to comment.