nocvp/zf3-resellerclub

该软件包最新版本(dev-master)没有可用的许可信息。

安装: 13

依赖: 0

建议者: 0

安全性: 0

星星: 0

关注者: 3

分支: 0

类型:模块

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

This package is not auto-updated.

Last update: 2024-09-14 20:14:55 UTC


README

此模块使用了afbora/resellerclub-php-sdk

安装

使用composer进行安装 composer. 在你的composer.json中添加此项目

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

示例

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

贡献者

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