envoyr/php-froxlor-client
最新稳定版本:3.0.0
Composer 安装命令:
composer require envoyr/php-froxlor-client
包简介
README 文档
README
Warning
We have changed the way we get the object. Now you have to use the id instead of the name to get, change or delete the object.
API Wrapper for Froxlor.
Installation
You can install it via composer:
$ composer require envoyr/php-froxlor-client
How to use
$froxlor = new \Envoyr\Froxlor\Server([ 'host' => 'https://froxlor.example.com', 'key' => '', 'secret' => '' ]);
Customer
$response = $froxlor ->customers ->create([ 'email' => 'hello@example.com', 'firstname' => 'Test', 'name' => 'Testman', 'custom_notes' => 'Created By API', 'customernumber' => 1337, 'new_loginname' => 'username', 'new_customer_password' => 'someRandomString', 'hosting_plan_id' => 1, 'api_allowed' => false, 'createstdsubdomain' => true, ]);
$response = $froxlor ->customer(1) ->email(1) ->attributes;
Info
Domains, Ftps, Email & EmailAccounts are also available.
统计信息
- 总下载量: 614
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-18