PHP code example of vmexanik / ukrnames-transfer-extension

1. Go to this page and download the library: Download vmexanik/ukrnames-transfer-extension library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

vmexanik / ukrnames-transfer-extension example snippets




use Struzik\EPPClient\EPPClient;
use Struzik\EPPClient\Request\Domain\RequestDomainTransferRequest;
use Ukrnames\TransferExtension\UrknamesTransferDomainContactExtension;

// ...

$request = new RequestDomainTransferRequest(new EPPClient());

// ...

$contactExtension = new UAEPPCreateContactExtension();
$contactExtension->setRegistrant('UANS-00000000001');
$contactExtension->setAdmin('UANS-00000000002');
$contactExtension->setTech('UANS-00000000003');
$contactExtension->setBilling('UANS-000000000041');

$request->addExtAddon($contactExtension);

// ...