Download the PHP package hostmaster/ua without Composer

On this page you can find all versions of the php package hostmaster/ua. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ua

hostmaster/ua

Modern PHP 8.2+ EPP client library for the Ukrainian (.UA) domain registry, epp.hostmaster.ua.

Install

Requires PHP 8.2+ with ext-dom, ext-libxml, ext-openssl, ext-mbstring.

Quick start

Architecture

Exception handling

Every 2xxx response is thrown as a typed exception. Catch the specific class you care about, fall back to EppException for everything else, and HostmasterException for any failure originating in this library:

The exception classes correspond to result-code groups defined in src/Protocol/ResultCode.php and mapped in src/Exception/EppException.php.

Logging & secret redaction

Pass any PSR-3 LoggerInterface as the second argument to new Client(...). Wire frames are logged at debug level. Sensitive fields (<pw>, <newPW>, <domain:pw>, <contact:pw>, <authInfo>, <ext>) are redacted by default before they ever reach the logger — your handler sees <pw>*****</pw>, while your application code still receives the real password as a string when you build a request or read a response.

Standalone redaction (no logger needed)

Redactor is framework-agnostic — call it from anywhere you want to store or display EPP XML safely (DB columns, support tickets, audit trails):

Add custom rules for your own extension fields:

PSR-3 wrapper

Wrap any PSR-3 logger so the rest of your code doesn't have to think about redaction:

The wrapper redacts the message string and every string-valued context field, recursively. Non-string context values pass through untouched.

Polling messages

Email notifications

The registry mirrors poll messages over email (From: [email protected], X-Notifier: UAEPP-NOTIFY, X-Template: …). EmailNotificationParser converts a raw RFC 5322 message — or already-split headers + body — into an EmailNotification value object with the operation, object type, name, and ROID extracted from the subject:

EmailTemplate covers every documented X-Template value (object created/changed/deleted, transfer requested/completed/cancelled/rejected, RGP, pending delete, host unlinked, contract events, balance reports, DNSSEC checks, etc.). Unknown values fall back to EmailTemplate::Unknown so the parser stays forward-compatible.

Hostmaster.ua extensions

Examples

The examples/ directory contains a runnable script for every EPP command, mirroring the structure of the official Hostmaster.ua documentation. See examples/README.md for a one-to-one mapping of registry doc pages to library calls.

Development

License

MIT — see LICENSE.


All versions of ua with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-dom Version *
ext-libxml Version *
ext-openssl Version *
ext-mbstring Version *
psr/log Version ^1.1 || ^2.0 || ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hostmaster/ua contains the following files

Loading the files please wait ...