定制 ln/threecx 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ln/threecx

最新稳定版本:v0.0.9

Composer 安装命令:

composer require ln/threecx

包简介

README 文档

README

package to wrap the api of 3cx®

getting started

composer require ln/threecx

usage

conf

you need the FQDN of the instanz, username and password (with permissions for the action)

$client = new Client(new Host(string <fqdn>, int <port>, bool <debug, optional>));

$client->setUser(new User(string <username>, string <password>, string <mfa, optional>));
// or
$client->setRest(new Rest(string <clientId>, string <clientSecret>));
// or
$client->setToken(new Token(string <tokenType>, int <expires>, string <accessToken>, string <refreshToken>));

functions

get

$client->get(string <uri>, array <query>)

delete

$config->delete(string <uri>, array <query>)

post, put, patch

$config-><post|put|patch>(string <uri>, array <payload>, array <query>)

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-18