PHPackages                             daids/qcloud-api - 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. daids/qcloud-api

ActiveLib[API Development](/categories/api)

daids/qcloud-api
================

qcloud api for laravel5

07PHP

Since May 30Pushed 9y agoCompare

[ Source](https://github.com/daids/qcloud-api)[ Packagist](https://packagist.org/packages/daids/qcloud-api)[ RSS](/packages/daids-qcloud-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

qcloud-api
==========

[](#qcloud-api)

qcloud api for laravel5

### 云搜API

[](#云搜api)

- 配置

```
//config/app.php
...
Daids\QcloudApi\QcloudApiServicePorvider::class
...
'Yunsou' => 'Daids\QcloudApi\Facades\Yunsou'
```

```
php artisan vendor:publish
```

```
//config/qcloud.php  填写你的配置项
'base' => [
	'appId' => '',
	'secretId' => '',
	'secretKey' => '',
],
'yunsou' => [
	'appId' => '' //云搜业务appId
]
```

- 添加记录
    - `Yunsou::add($data)` $data为上传数据，结构以配置为主，

```
//例如：
$data = [
	'id' => 1,
	'title' => 'test'
]
```

- 搜索记录
    - `Yunsou::search($keyword, $page, $perPage)` $page从0开始

```
//返回结果
$result = [
	'result' => true,
	'data' => [
		"cost_time": 19,
		"display_num": 2,
		"echo": "",
		"eresult_num": 2,
		"result_list": [
			{
				"doc_id": "1",
				"doc_meta": "{
					"id": "1",
					"title": "test"
				}",
				"l2_score": 0,
				"search_debuginfo": ""
			},
			{
				"doc_id": "2",
				"doc_meta": "{
					"id": "2",
					"title": "test2"
				}",
				"l2_score": 0,
				"search_debuginfo": ""
			}
		],
		"result_num": 2,
		"seg_list": [
			{
				"seg_str": "test"
			},
			{
				"seg_str": "test2"
			}
		]
	]
];
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb8659b35aa552e2bfb5dd04090692c1fce5bb55caeccb9a06995dcd57dcfa59?d=identicon)[daids](/maintainers/daids)

---

Top Contributors

[![daids](https://avatars.githubusercontent.com/u/1639998?v=4)](https://github.com/daids "daids (11 commits)")

### Embed Badge

![Health badge](/badges/daids-qcloud-api/health.svg)

```
[![Health](https://phpackages.com/badges/daids-qcloud-api/health.svg)](https://phpackages.com/packages/daids-qcloud-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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