PHPackages                             thefunpower/baidu\_nlp - 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. thefunpower/baidu\_nlp

ActiveLibrary[API Development](/categories/api)

thefunpower/baidu\_nlp
======================

baidu pulic ai php sdk

v1.0.5(2y ago)0611Apache-2.0PHPPHP &gt;=5.3.3

Since Oct 12Pushed 2y agoCompare

[ Source](https://github.com/thefunpower/baidu_nlp)[ Packagist](https://packagist.org/packages/thefunpower/baidu_nlp)[ RSS](/packages/thefunpower-baidu-nlp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

安装
==

[](#安装)

在composer.json中添加

```
"thefunpower/baidu_nlp": "dev-main"

```

配置
==

[](#配置)

```
baidu_nlp_app_id
baidu_nlp_app_key
baidu_nlp_app_secret

```

使用
==

[](#使用)

[查看更多功能](https://ai.baidu.com/ai-doc/NLP/Mk6z52c9h#%E5%AE%89%E8%A3%85%E8%87%AA%E7%84%B6%E8%AF%AD%E8%A8%80%E5%A4%84%E7%90%86-php-sdk)

```
$client = get_baidu_nlp();
$text = "上海市浦东新区纳贤路701号百度上海研发中心 F4A000 张三";
// 调用地址识别接口
$res = $client->address($text);

```

收货地址
====

[](#收货地址)

```
get_baidu_nlp_address($address)

```

字段说明province省city市region区street详细地址mobile手机号name姓名### 开源协议

[](#开源协议)

[Apache License 2.0](LICENSE)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

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.

###  Release Activity

Cadence

Every ~12 days

Total

5

Last Release

893d ago

### Community

Maintainers

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

---

Top Contributors

[![sunkangchina](https://avatars.githubusercontent.com/u/66815206?v=4)](https://github.com/sunkangchina "sunkangchina (1 commits)")

### Embed Badge

![Health badge](/badges/thefunpower-baidu-nlp/health.svg)

```
[![Health](https://phpackages.com/badges/thefunpower-baidu-nlp/health.svg)](https://phpackages.com/packages/thefunpower-baidu-nlp)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

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