PHPackages                             friparia/tieba - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. friparia/tieba

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

friparia/tieba
==============

Baidu Tieba Auto Sign | 百度贴吧自动登录

13105PHP

Since Jan 20Pushed 11y ago2 watchersCompare

[ Source](https://github.com/friparia/tieba)[ Packagist](https://packagist.org/packages/friparia/tieba)[ RSS](/packages/friparia-tieba/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

百度贴吧签到库
=======

[](#百度贴吧签到库)

提供一个基于cookie验证的百度贴吧签到方案

安装
--

[](#安装)

### 使用composer安装

[](#使用composer安装)

在`composer.json`里的require增加

`"friparia/tieba": "dev-master"`

然后执行

`composer update`

### 使用github

[](#使用github)

直接使用

`git clone git@github.com:friparia/tieba.git`

然后编辑并执行`demo.php`

签到
--

[](#签到)

BDUSS是你的百度登陆后的cookie中的BDUSS的值

```
$BDUSS = "你的BDUSS";
$kw = "要签到的吧名";
$tieba = new CTieba($BDUSS);
//提供单个贴吧签到，参数$kw为贴吧名
$tieba->sign($kw);
//提供所有自己喜欢的贴吧签到
$tieba->multisign();
```

自动签到
----

[](#自动签到)

将多人的BDUSS存到`storing.json`里面，并将cron.php写入你的crontab中，每天一次，即可实现自动签到

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

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/dcaa91261a58dfd48ef569746647acbf7a88f9bc311bbac4b7e1659c51827a50?d=identicon)[friparia](/maintainers/friparia)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/friparia-tieba/health.svg)

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

###  Alternatives

[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)[firemultimedia/mautic-multi-captcha-bundle

This plugin brings Google's reCAPTCHA, hCaptcha, and Cloudflare Turnstile integration to mautic.

151.4k](/packages/firemultimedia-mautic-multi-captcha-bundle)

PHPackages © 2026

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