opensaucesystems/simwoodapi
Composer 安装命令:
composer require opensaucesystems/simwoodapi
包简介
A simple object orientated way to interact with the simwood.com API
README 文档
README

This php composer package provides a simple object orientated way to interact with the simwood.com API.
Install
Via Composer
composer require opensaucesystems/lxd
Usage
Initialize the API client class:
$simwood = new \Opensaucesystems\Simwood\SimwoodClient(
'APIUSER', //<-- get from simwood
'APIKEY' //<-- get from simwood
);
I've chosen to not include the $account_id in the class construct, so it must be passed to each method call if required, this is because of the way the API has multiple accounts levels.
To interact with the API its as simple as calling a class method or property, endpoints are dynamically loaded when traversed to.
Docs
See the docs below for further details on each endpoint.
[ ] Todo
[-] Partially done
[X] Done
[!] Broken
[X] Tools
- [X] [My IP](./docs/Tools/My%20IP.md)
- [X] [Time](./docs/Tools/Time.md)
[X] Accounts
- [X] Credit
- [X] [Invoices](./docs/Account/Credit/Invoices.md)
- [X] All
- [X] Unpaid
- [X] Paid
- [X] PDF
- [X] [Invoices](./docs/Account/Credit/Invoices.md)
- [X] Prepay
- [X] [Balance](./docs/Account/Prepay/Balance.md)
- [X] [Low Balance Alerts](./docs/Account/Prepay/Low%20Balance%20Alerts.md)
- [X] [Locking](./docs/Account/Prepay/Locking.md)
- [X] [Summary](./docs/Account/Prepay/Summary.md)
- [X] [Pre-payments](./docs/Account/Prepay/Pre-payments.md)
- [X] All
- [X] Latest
- [X] [Transfers](./docs/Account/Prepay/Transfers.md)
- [X] All
- [X] Latest
- [X] Rates
- [X] [Breakouts](./docs/Account/Rates/Breakouts.md)
- [X] Date
- [X] Future
- [X] [Codes](./docs/Account/Rates/Codes.md)
- [X] Date
- [X] Future
- [X] [CSV](./docs/Account/Rates/CSV.md)
- [X] [Lookup](./docs/Account/Rates/Lookup.md)
- [X] [Breakouts](./docs/Account/Rates/Breakouts.md)
- [X] Reports
- [X] Voice
- [X] [Summary](./docs/Account/Reports/Voice/Summary.md)
- [X] [CDR](./docs/Account/Reports/Voice/CDR.md)
- [X] Day
- [X] Latest
- [X] SMS
- [X] [CDR](./docs/Account/Reports/SMS/CDR.md)
- [X] Day
- [X] Latest
- [X] [CDR](./docs/Account/Reports/SMS/CDR.md)
- [X] Admin
- [X] [CDR](./docs/Account/Reports/Admin/CDR.md)
- [X] Day
- [X] [CDR](./docs/Account/Reports/Admin/CDR.md)
- [X] Voice
- [X] [Summary](./docs/Account/Summary.md)
- [X] In
- [X] Out
- [X] by destid
- [X] by iso
- [X] by codec
- [X] by tag
- [X] by trunk
- [X] [Notifications](./docs/Account/Notifications.md)
- [X] Available
- [X] Type
- [X] Method
- [X] Hash
- [X] History
- [X] Credit
[-] Voice
- [X] [Limits](./docs/Voice/Limits.md)
- [X] [Channels](./docs/Voice/Channels.md)
- [X] [Current](./docs/Voice/Channels.md)
- [X] [History](./docs/Voice/History.md)
- [X] [In-progress](./docs/Voice/In-progress.md)
- [ ] Outbound - Trunk Management
- [ ] Outbound - Balance
- [ ] Outbound - In-progress
- [ ] Outbound - ACL
- [ ] Outbound - ACL/IP
- [ ] Outbound - Password Reset
- [ ] Destination ACL
- [ ] IDA
[X] [Inline CDR](./docs/Inline%20CDR.md)
- [X] CDR
- [X] {YYYY-MM-DD}
- [X] {YYYY-MM-DD}/{REFERENCE}
- [X] CDR
[-] Numbers
- [X] [Ranges](./docs/Numbers/Ranges.md)
- [X] [Available](./docs/Numbers/Available.md)
- [X] [Consecutive](./docs/Numbers/Consecutive.md)
- [X] [Allocated](./docs/Numbers/Allocated.md)
- [X] All
- [X] 10|100|100|1000
- [-] Number
- [X] [Config](./docs/Numbers/Number/Config.md)
- [ ] SMS
- [X] [999](./docs/Numbers/Number/999.md)
- [X] [Default Config](./docs/Numbers/Number/Default%20Config.md)
- [X] [Manage](./docs/browse/Numbers/Number/Manage.md)
- [X] Info
- [X] Allocate
- [X] Delete/Deconfigure
[ ] Porting
- [ ] Ports
[ ] Fax
- [ ] Inbound
- [ ] Hash
[ ] Messaging
- [ ] SMS
- [ ] Fax
[X] [Asynchronous Report File](./docs/Files.md)
opensaucesystems/simwoodapi 适用场景与选型建议
opensaucesystems/simwoodapi 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.58k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2015 年 12 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「api」 「voip」 「simwood」 「OpenSauceSystems」 「simwood.com」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 opensaucesystems/simwoodapi 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 opensaucesystems/simwoodapi 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 opensaucesystems/simwoodapi 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Asterisk Manager Interface (AMI) client for PHP, event driven, object oriented (Fork)
Client library for connecting to SignalWire.
A PSR-7 compatible library for making CRUD API endpoints
Fork of marcelog's Asterisk Manager Interface (AMI) client for PHP, event driven, object oriented
PHPAGI is a PHP class for the Asterisk Gateway Interface. The package is available for use and distribution under the terms of the GNU Public License.
Kazoo PHP SDK (updated)
统计信息
- 总下载量: 1.58k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-09