Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.5 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.5 KB

RGP Extension for EPP Client

Build Status Latest Stable Version Total Downloads Software License StandWithUkraine

Domain Registry Grace Period(RGP) extension for the EPP (Extensible Provisioning Protocol).

Implemented according to RFC 3915 Domain Registry Grace Period Mapping for the Extensible Provisioning Protocol (EPP).

Extension for struzik-vladislav/epp-client library.

Usage

<?php

use Struzik\EPPClient\Extension\RGP\RGPExtension;
use Struzik\EPPClient\Extension\RGP\Request\RGPRequestRestoreRequest;

// ...

$client->pushExtension(new RGPExtension('urn:ietf:params:xml:ns:rgp-1.0', $logger));

// ...

$request = new RGPRequestRestoreRequest($client);
$request->setDomain('example.net');
$response = $client->send($request);