PHPackages                             yiranzai/byrobot - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. yiranzai/byrobot

ActiveLibrary[API Development](/categories/api)

yiranzai/byrobot
================

百应智能外呼系统API

v0.2.1(7y ago)9483MITPHPPHP ~7.1

Since Mar 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/yiranzai/php-byrobot)[ Packagist](https://packagist.org/packages/yiranzai/byrobot)[ Docs](https://github.com/yiranzai/php-byrobot)[ RSS](/packages/yiranzai-byrobot/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

php-byrobot
===========

[](#php-byrobot)

[ENGLISH](docs/README_EN.md) | [中文](README.md)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a136d10c389ba9691b64be88c557fd261df38bf008dd308b3b52bdbf88323662/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796972616e7a61692f6279726f626f742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yiranzai/byrobot)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](docs/LICENSE.md)[![Build Status](https://camo.githubusercontent.com/7ee4b084ca6590176ba115a58006d6752540f54babbf47496dc7f4f9f1141fc5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f796972616e7a61692f7068702d6279726f626f742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/yiranzai/php-byrobot)[![Coverage Status](https://camo.githubusercontent.com/86507e4ef6584b5060308b525c4afd7d282e298bd8e76a8e1bf43c044d56f989/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f796972616e7a61692f7068702d6279726f626f742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/yiranzai/php-byrobot/code-structure)[![Quality Score](https://camo.githubusercontent.com/b266af337497483e6b2cd628303d142ed6d9fbadd14002ec71447f6e3131df9b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f796972616e7a61692f7068702d6279726f626f742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/yiranzai/php-byrobot)[![Total Downloads](https://camo.githubusercontent.com/7187ff4e1c0c01ecd4b292092f61d71415d081258390c7cf7600a16b103ea47d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f796972616e7a61692f6279726f626f742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yiranzai/byrobot)

百应智能外呼系统 API

目录
--

[](#目录)

```
src/
tests/

```

安装
--

[](#安装)

Via Composer

```
$ composer require yiranzai/byrobot
```

使用
--

[](#使用)

### 初始化

[](#初始化)

```
$robot = Yiranzai\Byrobot\Byrobot::init(
    [
        'appKey' => 'YOU_APP_KEY',
        'appSecret' => 'YOU_APP_SECRET'
    ]);
```

or

```
$robot = Yiranzai\Byrobot\Byrobot::init();
$robot->key(YOU_APP_KEY)->secret(YOU_APP_SECRET);
```

### API

[](#api)

- `$robot->getCompanys()` // 获取绑定公司列表接口
- `$robot->getPhones()` // 获取公司的主叫电话列表接口
- `$robot->getRobots()` // 获取公司的机器人话术列表接口
- `$robot->addBlackList()` // 添加单个黑名单到公司默认黑名单组接口
- `$robot->statistics()` // 获取公司 AI 坐席概况接口
- `$robot->createTask()` // 创建任务接口
- `$robot->start()` // 启动任务接口
- `$robot->pause()` // 暂停任务接口
- `$robot->stop()` // 停止任务接口
- `$robot->delete()` // 删除任务
- `$robot->importTaskCustomer()` // 向任务中导入客户接口
- `$robot->update()` // 修改任务
- `$robot->call()` // 单次电话外呼
- `$robot->singleCallByMobile()` // 根据手机号进行单次电话外呼
- `$robot->getTasks()` // 获取任务列表接口
- `$robot->getTaskDetail()` // 获取任务详情接口
- `$robot->queryDoneTaskPhones()` // 获取已经完成任务电话号码接口
- `$robot->notDialedCustomerList()` // 获取任务未开始的电话列表
- `$robot->phoneLogInfo()` // 获取一个通话的详情接口

Change log
----------

[](#change-log)

Please see [CHANGELOG](docs/CHANGELOG.md) for more information on what has changed recently.

测试
--

[](#测试)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](docs/CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](docs/CODE_OF_CONDUCT.md) for details.

安全
--

[](#安全)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [yiranzai](https://github.com/yiranzai)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](docs/LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Total

3

Last Release

2639d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/131c451d3fbf74a922387ce2b4c1e0e2e282afcabe8f67a09fc9fa25bbb09799?d=identicon)[yiranzai](/maintainers/yiranzai)

---

Top Contributors

[![yiranzai](https://avatars.githubusercontent.com/u/20548510?v=4)](https://github.com/yiranzai "yiranzai (7 commits)")

---

Tags

byrobotphpyiranzaibyrobot

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/yiranzai-byrobot/health.svg)

```
[![Health](https://phpackages.com/badges/yiranzai-byrobot/health.svg)](https://phpackages.com/packages/yiranzai-byrobot)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
