PHPackages                             xiaobinqt/biao-qing-bao - 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. xiaobinqt/biao-qing-bao

ActiveLibrary

xiaobinqt/biao-qing-bao
=======================

1.1.1(6y ago)312MITPHP

Since Dec 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/xiaobinqt/biaoQingBao)[ Packagist](https://packagist.org/packages/xiaobinqt/biao-qing-bao)[ RSS](/packages/xiaobinqt-biao-qing-bao/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

 biaoQingBao
=============

[](#-biaoqingbao-)

根据关键字爬取斗图啦网站的表情包

Installing
----------

[](#installing)

```
$ composer require xiaobinqt/biao-qing-bao -vvv
```

Usage
-----

[](#usage)

- 使用
    - $guzzleOptions 非必须参数，是请求时需要的一些配置，比如我公司的网走了代理，就需要配置一个 proxy。
    - setNeedCount() 在不需要获取全部时，可能设置需要获取的数量
    - setSuffix() 设置获取特定后缀的图片表情包

```
$keyWorks = "我艹";
$guzzleOptions = array(
    'proxy' => [
        'http'  => '127.0.0.1:12639',
        'https' => '127.0.0.1:12639'
    ]
);
$bqb = new \Xiaobinqt\BiaoQingBao\BiaoQingBao($keyWorks, $guzzleOptions);
$bqb->setNeedCount(1);
$bqb->setSuffix(array(
    "gif"
));
$rs = $bqb->getEmojiList();
echo $rs;

```

- 返回结构
    - 出错 ```
        {
          "error": -1,
          "msg": "cURL error 7: Failed to connect to www.doutula.com port 443: Timed out (see https:\/\/curl.haxx.se\/libcurl\/c\/libcurl-errors.html)",
          "data": []
        }

        ```
    - 正确 ```
           {
             "error": 0,
             "msg": "success",
             "data": [
               "http://ww1.sinaimg.cn/bmiddle/9150e4e5gy1g2x4gj710cj209q09p0sr.jpg",
               "http://ww2.sinaimg.cn/bmiddle/9150e4e5gy1g59e69khv7j209c05jaa0.jpg",
               "http://ww1.sinaimg.cn/bmiddle/9150e4e5gy1g62dk501cxj206o06oaa4.jpg",
               "http://ww4.sinaimg.cn/bmiddle/9150e4e5ly1fsozdquwofj20qo0eyadd.jpg"
             ]
           }

        ```

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

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/xiaobinqt/biaoQingBao/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/xiaobinqt/biaoQingBao/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~1 days

Total

3

Last Release

2330d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23259661?v=4)[萧十一郎](/maintainers/xiaobinqt)[@xiaobinqt](https://github.com/xiaobinqt)

---

Top Contributors

[![xiao1996cc](https://avatars.githubusercontent.com/u/83406740?v=4)](https://github.com/xiao1996cc "xiao1996cc (5 commits)")

### Embed Badge

![Health badge](/badges/xiaobinqt-biao-qing-bao/health.svg)

```
[![Health](https://phpackages.com/badges/xiaobinqt-biao-qing-bao/health.svg)](https://phpackages.com/packages/xiaobinqt-biao-qing-bao)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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