jumper423/voximplant-phpsdk
Composer 安装命令:
composer require jumper423/voximplant-phpsdk
包简介
Voximplant HTTP API php sdk
README 文档
README
Voximplant HTTP API description
- API version: 1.0.0 For more information, please visit http://voximplant.com
Requirements
PHP 5.4.0 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/DmitryIvaneychik/phpsdk.git"
}
],
"require": {
"voximplant/phpsdk": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php:
require_once( __DIR__ . '/vendor/autoload.php' );
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key: api_key Voximplant\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY'); // Configure account name: account_name Voximplant\Configuration::getDefaultConfiguration()->setApiKey('account_name', 'YOUR_ACCOUNT_NAME'); $api_instance = new \Voximplant\Api\AccountsAuthenticationApi(); try { $result = $api_instance->logon(); print_r($result); } catch (Exception $e) { echo 'Exception when calling AccountsAuthenticationApi->logon: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to https://api.voximplant.com/platform_api/
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AccountsAuthenticationApi | logon | POST /Logon | |
| AccountsAuthenticationApi | logout | POST /Logout | |
| ManagingAccountsApi | chargeAccount | POST /ChargeAccount | |
| ManagingAccountsApi | confirmAccountPasswordChange | POST /ConfirmAccountPasswordChange | |
| ManagingAccountsApi | getAccountDocuments | POST /GetAccountDocuments | |
| ManagingAccountsApi | getAccountInfo | POST /GetAccountInfo | |
| ManagingAccountsApi | getCurrencyRate | POST /GetCurrencyRate | |
| ManagingAccountsApi | getMoneyAmountToCharge | POST /GetMoneyAmountToCharge | |
| ManagingAccountsApi | getResourcePrice | POST /GetResourcePrice | |
| ManagingAccountsApi | getSubscriptionPrice | POST /GetSubscriptionPrice | |
| ManagingAccountsApi | sendAccountPasswordChangeRequest | POST /SendAccountPasswordChangeRequest | |
| ManagingAccountsApi | setAccountDocument | POST /SetAccountDocument | |
| ManagingAccountsApi | setAccountInfo | POST /SetAccountInfo | |
| ManagingAdminRolesApi | addAdminRole | POST /AddAdminRole | |
| ManagingAdminRolesApi | delAdminRole | POST /DelAdminRole | |
| ManagingAdminRolesApi | getAdminRoles | POST /GetAdminRoles | |
| ManagingAdminRolesApi | setAdminRoleInfo | POST /SetAdminRoleInfo | |
| ManagingAdminUsersApi | addAdminUser | POST /AddAdminUser | |
| ManagingAdminUsersApi | attachAdminRole | POST /AttachAdminRole | |
| ManagingAdminUsersApi | delAdminUser | POST /DelAdminUser | |
| ManagingAdminUsersApi | getAdminUsers | POST /GetAdminUsers | |
| ManagingAdminUsersApi | setAdminUserInfo | POST /SetAdminUserInfo | |
| ManagingApplicationsApi | addApplication | POST /AddApplication | |
| ManagingApplicationsApi | delApplication | POST /DelApplication | |
| ManagingApplicationsApi | getApplications | POST /GetApplications | |
| ManagingApplicationsApi | setApplicationInfo | POST /SetApplicationInfo | |
| ManagingAuthorizedIPsApi | addAuthorizedAccountIP | POST /AddAuthorizedAccountIP | |
| ManagingAuthorizedIPsApi | checkAuthorizedAccountIP | POST /CheckAuthorizedAccountIP | |
| ManagingAuthorizedIPsApi | delAuthorizedAccountIP | POST /DelAuthorizedAccountIP | |
| ManagingAuthorizedIPsApi | getAuthorizedAccountIPs | POST /GetAuthorizedAccountIPs | |
| ManagingCallListsApi | appendToCallList | POST /AppendToCallList | |
| ManagingCallListsApi | createCallList | POST /CreateCallList | |
| ManagingCallListsApi | createManualCallList | POST /CreateManualCallList | |
| ManagingCallListsApi | getCallListDetails | POST /GetCallListDetails | |
| ManagingCallListsApi | getCallLists | POST /GetCallLists | |
| ManagingCallListsApi | recoverCallList | POST /RecoverCallList | |
| ManagingCallListsApi | startNextCallTask | POST /StartNextCallTask | |
| ManagingCallListsApi | stopCallListProcessing | POST /StopCallListProcessing | |
| ManagingCallerIDsApi | activateCallerID | POST /ActivateCallerID | |
| ManagingCallerIDsApi | addCallerID | POST /AddCallerID | |
| ManagingCallerIDsApi | delCallerID | POST /DelCallerID | |
| ManagingCallerIDsApi | getCallerIDs | POST /GetCallerIDs | |
| ManagingCallerIDsApi | verifyCallerID | POST /VerifyCallerID | |
| ManagingHistoryApi | downloadHistoryReport | POST /DownloadHistoryReport | |
| ManagingHistoryApi | getACDHistory | POST /GetACDHistory | |
| ManagingHistoryApi | getCallHistory | POST /GetCallHistory | |
| ManagingHistoryApi | getHistoryReports | POST /GetHistoryReports | |
| ManagingHistoryApi | getTransactionHistory | POST /GetTransactionHistory | |
| ManagingPSTNBlacklistApi | addPstnBlackListItem | POST /AddPstnBlackListItem | |
| ManagingPSTNBlacklistApi | delPstnBlackListItem | POST /DelPstnBlackListItem | |
| ManagingPSTNBlacklistApi | getPstnBlackList | POST /GetPstnBlackList | |
| ManagingPSTNBlacklistApi | setPstnBlackListItem | POST /SetPstnBlackListItem | |
| ManagingPhoneNumbersApi | attachPhoneNumber | POST /AttachPhoneNumber | |
| ManagingPhoneNumbersApi | bindPhoneNumberToApplication | POST /BindPhoneNumberToApplication | |
| ManagingPhoneNumbersApi | deactivatePhoneNumber | POST /DeactivatePhoneNumber | |
| ManagingPhoneNumbersApi | getActualPhoneNumberRegion | POST /GetActualPhoneNumberRegion | |
| ManagingPhoneNumbersApi | getNewPhoneNumbers | POST /GetNewPhoneNumbers | |
| ManagingPhoneNumbersApi | getPhoneNumberCategories | POST /GetPhoneNumberCategories | |
| ManagingPhoneNumbersApi | getPhoneNumberCountryStates | POST /GetPhoneNumberCountryStates | |
| ManagingPhoneNumbersApi | getPhoneNumberRegions | POST /GetPhoneNumberRegions | |
| ManagingPhoneNumbersApi | getPhoneNumbers | POST /GetPhoneNumbers | |
| ManagingPhoneNumbersApi | setPhoneNumberInfo | POST /SetPhoneNumberInfo | |
| ManagingPushCredentialsApi | addPushCredential | POST /AddPushCredential | |
| ManagingPushCredentialsApi | bindPushCredential | POST /BindPushCredential | |
| ManagingPushCredentialsApi | delPushCredential | POST /DelPushCredential | |
| ManagingPushCredentialsApi | getPushCredential | POST /GetPushCredential | |
| ManagingPushCredentialsApi | setPushCredential | POST /SetPushCredential | |
| ManagingQueuesApi | addQueue | POST /AddQueue | |
| ManagingQueuesApi | delQueue | POST /DelQueue | |
| ManagingQueuesApi | getACDState | POST /GetACDState | |
| ManagingQueuesApi | getQueues | POST /GetQueues | |
| ManagingQueuesApi | setQueueInfo | POST /SetQueueInfo | |
| ManagingRegulationAddressApi | createRegulationAddress | POST /CreateRegulationAddress | |
| ManagingRegulationAddressApi | getAvailibleRegulations | POST /GetAvailibleRegulations | |
| ManagingRegulationAddressApi | getCountries | POST /GetCountries | |
| ManagingRegulationAddressApi | getRegions | POST /GetRegions | |
| ManagingRegulationAddressApi | getRegulationsAddress | POST /GetRegulationsAddress | |
| ManagingRegulationAddressApi | getZIPCodes | POST /GetZIPCodes | |
| ManagingRegulationAddressApi | linkregulationAddress | POST /LinkregulationAddress | |
| ManagingRegulationAddressApi | uploadProofOfAddress | POST /UploadProofOfAddress | |
| ManagingRulesApi | addRule | POST /AddRule | |
| ManagingRulesApi | delRule | POST /DelRule | |
| ManagingRulesApi | getRules | POST /GetRules | |
| ManagingRulesApi | reorderRules | POST /ReorderRules | |
| ManagingRulesApi | setRuleInfo | POST /SetRuleInfo | |
| ManagingSIPRegistrationApi | bindSipRegistration | POST /BindSipRegistration | |
| ManagingSIPRegistrationApi | createSipRegistration | POST /CreateSipRegistration | |
| ManagingSIPRegistrationApi | deleteSipRegistration | POST /DeleteSipRegistration | |
| ManagingSIPRegistrationApi | getSipRegistrations | POST /GetSipRegistrations | |
| ManagingSIPRegistrationApi | updateSipRegistration | POST /UpdateSipRegistration | |
| ManagingSIPWhiteListApi | addSipWhiteListItem | POST /AddSipWhiteListItem | |
| ManagingSIPWhiteListApi | delSipWhiteListItem | POST /DelSipWhiteListItem | |
| ManagingSIPWhiteListApi | getSipWhiteList | POST /GetSipWhiteList | |
| ManagingSIPWhiteListApi | setSipWhiteListItem | POST /SetSipWhiteListItem | |
| ManagingScenariosApi | addScenario | POST /AddScenario | |
| ManagingScenariosApi | bindScenario | POST /BindScenario | |
| ManagingScenariosApi | delScenario | POST /DelScenario | |
| ManagingScenariosApi | getScenarios | POST /GetScenarios | |
| ManagingScenariosApi | reorderScenarios | POST /ReorderScenarios | |
| ManagingScenariosApi | setScenarioInfo | POST /SetScenarioInfo | |
| ManagingScenariosApi | startConference | POST /StartConference | |
| ManagingScenariosApi | startScenarios | POST /StartScenarios | |
| ManagingSkillsApi | addSkill | POST /AddSkill | |
| ManagingSkillsApi | bindSkill | POST /BindSkill | |
| ManagingSkillsApi | delSkill | POST /DelSkill | |
| ManagingSkillsApi | getSkills | POST /GetSkills | |
| ManagingSkillsApi | setSkillInfo | POST /SetSkillInfo | |
| ManagingUsersApi | addUser | POST /AddUser | |
| ManagingUsersApi | bindUser | POST /BindUser | |
| ManagingUsersApi | delUser | POST /DelUser | |
| ManagingUsersApi | getUsers | POST /GetUsers | |
| ManagingUsersApi | setUserInfo | POST /SetUserInfo | |
| ManagingUsersApi | transferMoneyToUser | POST /TransferMoneyToUser |
Documentation For Models
- ACDLock
- ACDLockedOperatorStateType
- ACDOperatorCall
- ACDQueueOperatorInfoType
- ACDQueueStateType
- ACDReadyOperatorStateType
- ACDServicingCallStateType
- ACDSessionEventInfoType
- ACDSessionInfoType
- ACDStateType
- ACDWaitingCallStateType
- APIError
- AccountCallback
- AccountCallbacks
- AccountDocumentVerifiedCallback
- AccountInfoType
- AccountIsFrozenCallback
- AccountVerificationDocument
- AccountVerificationType
- AccountVerifications
- ActivateSuccessfulCallback
- AdminRoleType
- AdminUserType
- ApplicationInfoType
- AttachedPhoneInfoType
- AuthorizedAccountIPType
- BankCardType
- CalculatedCallHistoryDataType
- CalculatedTransactionHistoryDataType
- CallHistoryReportCallback
- CallInfoType
- CallListDetailType
- CallListType
- CallSessionInfoType
- CallerIDInfoType
- CardExpiredCallback
- CardExpiresInMonthCallback
- CardPaymentCallback
- CardPaymentFailedCallback
- CertCredentialType
- ChargeAccountResult
- ChargedPhoneType
- ClonedACDQueueType
- ClonedACDSkillType
- ClonedAccountType
- ClonedAdminRoleType
- ClonedAdminUserType
- ClonedApplicationType
- ClonedRuleType
- ClonedScenarioType
- ClonedUserType
- ContractInfoType
- ContractorInfoType
- ContractorInvoiceServiceType
- ContractorInvoiceType
- ExchangeRates
- GetMoneyAmountToChargeResult
- HistoryReportType
- JSFailCallback
- MinBalanceCallback
- NewAttachedPhoneInfoType
- NewPhoneInfoType
- PhoneNumberCountryCategoryInfoType
- PhoneNumberCountryInfoType
- PhoneNumberCountryRegionInfoType
- PhoneNumberCountryStateInfoType
- PriceGroup
- PstnBlackListInfoType
- PushCredentialInfo
- QueueInfoType
- RecordType
- RegulationAddress
- RegulationAddressVerifiedCallback
- RegulationCountry
- RegulationRegionRecord
- RenewedSubscriptionsCallback
- RenewedSubscriptionsCallbackItem
- ResetAccountPasswordRequestCallback
- ResourceParams
- ResourcePrice
- ResourceUsageType
- RuleInfoType
- SIPRegistrationFailCallback
- SIPRegistrationType
- ScenarioInfoType
- ShortAccountInfoType
- SipWhiteListInfoType
- SkillInfoType
- StagnantAccountCallback
- SubscriptionIsDetachedCallback
- SubscriptionIsDetachedCallbackItem
- SubscriptionIsFrozenCallback
- SubscriptionIsFrozenCallbackItem
- SubscriptionTemplateType
- SubscriptionsToChargeType
- TransactionHistoryReportCallback
- TransactionInfoType
- UnchargedTariffCallback
- UnverifiedSubscriptionDetachedCallback
- UnverifiedSubscriptionDetachedCallbackItem
- UserInfoType
- ZipCode
Documentation For Authorization
account_name
- Type: Account name
- Account name parameter name: account_name
- Location: URL query string
api_key
- Type: API key
- API key parameter name: api_key
- Location: URL query string
Author
Dmitry Ivaneychik ivaneychik@zingaya.com
jumper423/voximplant-phpsdk 适用场景与选型建议
jumper423/voximplant-phpsdk 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 25 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 02 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「api」 「sdk」 「swagger」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 jumper423/voximplant-phpsdk 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jumper423/voximplant-phpsdk 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 jumper423/voximplant-phpsdk 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A PSR-7 compatible library for making CRUD API endpoints
Alfabank REST API integration
Zero-dependency raw PHP DNS resolver, domain-ownership verification, and intoDNS/MxToolbox-style diagnostics. Queries authoritative nameservers directly over sockets — never trusts the recursive cache for ownership checks.
A lightweight plain-PHP framework for database-backed CRUD APIs.
bughq error tracking - PHP SDK
ABsurge PHP SDK for feature flags and A/B testing
统计信息
- 总下载量: 25
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-02-21