nocvp/zf3-resellerclub

There is no license information available for the latest version (dev-master) of this package.

dev-master 2016-12-10 15:33 UTC

This package is not auto-updated.

Last update: 2024-04-13 17:57:23 UTC


README

This module uses the afbora/resellerclub-php-sdk

Installation

For the installation uses composer composer. Add this project in your composer.json:

"require": {
    "nocvp/zf3-resellerclub": "dev-master"
}

Examples

Default use of Zf3 ResellerClub

$resellerClubService = $container->get('resellerClub');
// Get Available TLDs
$resellerClubService->domains()->getTLDs();

// Check Domain Availablity
$resellerClubService->domains()->available(['google', 'example'], ['com', 'net']); // This will check google.com, google.net, example.com and example.net


or in your controller

$resellerClubPlugin = $this->resellerClub();
// Get Available TLDs
$resellerClubPlugin->domains()->getTLDs();

// Check Domain Availablity
$resellerClubPlugin->domains()->available(['google', 'example'], ['com', 'net']); // This will check google.com, google.net, example.com and example.net

Contributors

Semih SARI - semih.sari@noc.com.tr