Skip to content

Commit 8964523

Browse files
committed
Added support for .hr
1 parent b924c40 commit 8964523

File tree

4 files changed

+2169
-6
lines changed

4 files changed

+2169
-6
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,13 @@ openssl s_client -connect epp.example.com:700 -CAfile cacert.pem -cert cert.pem
9494
| TMCH ||
9595
| REGRR ||
9696

97-
## Registry Support (33 backends and counting)
97+
## Registry Support (34 backends and counting)
9898

9999
| Registry | TLDs | Extension | Status | TODO |
100100
|----------|----------|----------|----------|----------|
101101
| Generic RFC EPP | any | || |
102102
| AFNIC | .fr/others | FR || |
103+
| CARNET | .hr | HR || |
103104
| Caucasus Online | .ge | || |
104105
| CentralNic | all | || |
105106
| CoCCA | all | || |

examples/ContactCreate.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
'email' => '[email protected]',
3333
'authInfoPw' => 'ABCLviv@345',
3434
//'euType' => 'tech',
35+
//'nin_type' => 'person',
36+
//'nin' => '1234567789',
3537
);
3638
$contactCreate = $epp->contactCreate($params);
3739

src/EppRegistryFactory.php

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,21 @@
1414
use Pinga\Tembo\Registries\FrEpp;
1515
use Pinga\Tembo\Registries\FredEpp;
1616
use Pinga\Tembo\Registries\GrEpp;
17+
use Pinga\Tembo\Registries\HkEpp;
18+
use Pinga\Tembo\Registries\HrEpp;
1719
use Pinga\Tembo\Registries\LvEpp;
1820
use Pinga\Tembo\Registries\NoEpp;
1921
use Pinga\Tembo\Registries\PlEpp;
2022
use Pinga\Tembo\Registries\PtEpp;
2123
use Pinga\Tembo\Registries\SeEpp;
2224
use Pinga\Tembo\Registries\UaEpp;
23-
use Pinga\Tembo\Registries\HkEpp;
2425
use Pinga\Tembo\Registries\VrsnEpp;
2526

2627
class EppRegistryFactory
2728
{
2829
public static function create($registry)
2930
{
30-
switch ($registry) {
31+
switch ($registry) {
3132
case 'EU':
3233
return new EuEpp();
3334
break;
@@ -40,6 +41,12 @@ public static function create($registry)
4041
case 'GR':
4142
return new GrEpp();
4243
break;
44+
case 'HK':
45+
return new HkEpp();
46+
break;
47+
case 'HR':
48+
return new HrEpp();
49+
break;
4350
case 'LV':
4451
return new LvEpp();
4552
break;
@@ -58,9 +65,6 @@ public static function create($registry)
5865
case 'UA':
5966
return new UaEpp();
6067
break;
61-
case 'HK':
62-
return new HkEpp();
63-
break;
6468
case 'VRSN':
6569
return new VrsnEpp();
6670
break;

0 commit comments

Comments
 (0)