PHPackages                             liuhui/libweibo\_biz - 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. liuhui/libweibo\_biz

ActiveLibrary[API Development](/categories/api)

liuhui/libweibo\_biz
====================

php sdkSina Weibo open platform business php sdk

4383[1 issues](https://github.com/liuhui244671426/libweibo_biz/issues)PHP

Since May 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/liuhui244671426/libweibo_biz)[ Packagist](https://packagist.org/packages/liuhui/libweibo_biz)[ RSS](/packages/liuhui-libweibo-biz/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

libweibo\_biz
=============

[](#libweibo_biz)

新浪微博开放平台商业数据php sdk（Sina Weibo open platform business php sdk） [官网链接](http://open.weibo.com)

安装
--

[](#安装)

### composer(推荐)

[](#composer推荐)

composer 安装请参考,[链接](http://docs.phpcomposer.com/00-intro.html)

安装后编辑 composer.json 添加内容

```
"require": {
    "liuhui/libweibo_biz":"dev-master"
}

"repositories": {
    "packagist": {
        "type": "composer",
        "url": "https://packagist.phpcomposer.com"
    }
},
"minimum-stability": "dev"
```

执行安装命令,进行安装

```
composer install
```

### 手动

[](#手动)

步骤:

 ```

 1.下载本 git 的文件

 2.下载  xiaosier/libweibo

 3.手动解决依赖关系,顺序加载 saetv2.ex.class.php biz_apis.php biz_subscribe.php 等文件

```

使用
--

[](#使用)

```
//在业务代码中加载 vender/autoload.php 文件

include 'vender/autoload.php';

添加相应的配置,如APPKEY,TOKEN 等,可以参考 tests/config.php 文件

//业务代码

require "config.php";

$object = new biz_apis(APPKEY, APPSECRET, TOKEN);

$ret = $object->place_user_timeline_other($uid);

var_dump($ret);

die;

```

\##change log

```
2016-05-18 添加 搜索最近数据API 链接,微博内容数据API 链接,检索历史全量数据API 链接,微博用户数据API 链接,订阅服务API 链接

```

注意事项
----

[](#注意事项)

```
此SDK 依赖 xiaosier/libweibo 包, 链接
```

Bug tracker
-----------

[](#bug-tracker)

Have a bug? Please create an issue here on GitHub! [issue!](https://github.com/liuhui244671426/libweibo_biz/issues)

License
-------

[](#license)

---

Copyright 2011 SINA, Inc. Copyright 2011 SAE

Licensed under the Apache License, Version 2.0:

###  Health Score

22

—

LowBetter than 25% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

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/5290acb09f375547c4393f70cc4e30cea2ffa56bfdce7ab183c95064bc70bf8a?d=identicon)[xilixiaodao](/maintainers/xilixiaodao)

---

Top Contributors

[![liuhui244671426](https://avatars.githubusercontent.com/u/2316088?v=4)](https://github.com/liuhui244671426 "liuhui244671426 (38 commits)")

### Embed Badge

![Health badge](/badges/liuhui-libweibo-biz/health.svg)

```
[![Health](https://phpackages.com/badges/liuhui-libweibo-biz/health.svg)](https://phpackages.com/packages/liuhui-libweibo-biz)
```

###  Alternatives

[google/apiclient

Client library for Google APIs

9.8k186.9M875](/packages/google-apiclient)[stripe/stripe-php

Stripe PHP Library

4.0k139.3M411](/packages/stripe-stripe-php)[webonyx/graphql-php

A PHP port of GraphQL reference implementation

4.7k75.4M270](/packages/webonyx-graphql-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k90.6M248](/packages/twilio-sdk)[friendsofsymfony/jsrouting-bundle

A pretty nice way to expose your Symfony routing to client applications.

1.5k52.7M205](/packages/friendsofsymfony-jsrouting-bundle)[knplabs/github-api

GitHub API v3 client

2.2k15.3M170](/packages/knplabs-github-api)

PHPackages © 2026

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