PHPackages                             azhida/baiduwangpan-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. azhida/baiduwangpan-api

ActiveLibrary

azhida/baiduwangpan-api
=======================

百度网盘API

0.0.5(3y ago)038MITPHP

Since Apr 10Pushed 3y ago1 watchersCompare

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

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

 baiduwangpan-api
==================

[](#-baiduwangpan-api-)

 百度网盘API.

Installing
----------

[](#installing)

```
$ composer require azhida/baiduwangpan-api -vvv
```

Usage
-----

[](#usage)

```
$config = [
    'AppID' => '',
    'Appkey' => '',
    'Secretkey' => '',
    'RedirectUri' => 'http://localhost/bd_pan/get_code',
    'rtype' => 1,
    'FileFragmentSize' => 4, // 分片上传的单个文件片段大小，单位 M，默认：4M
];
$bdPan = new \Azhida\BaiduwangpanApi\BdPan($config);

// 授权
$bdPan->authorize();

// 上传文件
$bdPan->upload('./111.zip', '/apps/111.zip');
```

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

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/azhida/baiduwangpan-api/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/azhida/baiduwangpan-api/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

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

5

Last Release

1122d ago

### Community

Maintainers

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

---

Top Contributors

[![ada-0](https://avatars.githubusercontent.com/u/116139001?v=4)](https://github.com/ada-0 "ada-0 (9 commits)")

### Embed Badge

![Health badge](/badges/azhida-baiduwangpan-api/health.svg)

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

PHPackages © 2026

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