struzik-vladislav / epp-ext-hostmasterua-balance
Balance extension who was provided by Hostmaster (https://hostmaster.ua/).
v2.2.0
2024-02-06 23:53 UTC
Requires
- php: >=7.4 <8.4
- ext-dom: *
- psr/log: ~1.0 | ~2.0 | ~3.0
- struzik-vladislav/epp-client: ^2.0
Requires (Dev)
- phpunit/phpunit: ^9.3
README
Balance extension who was provided by HostmasterUA.
Extension for struzik-vladislav/epp-client library.
Usage
<?php use Struzik\EPPClient\Extension\HostmasterUA\Balance\BalanceExtension; use Struzik\EPPClient\Extension\HostmasterUA\Balance\Request\Balance\InfoBalanceRequest; // ... $client->pushExtension(new BalanceExtension('http://hostmaster.ua/epp/balance-1.0', $logger)); // ... $request = new InfoBalanceRequest($client); $request->setContract('R12/999'); $response = $client->send($request);