PHPackages                             tobycroft/btapi - 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. tobycroft/btapi

ActiveLibrary[API Development](/categories/api)

tobycroft/btapi
===============

btpanel/aaPanel\_api\_2026\_version宝塔面板API接口PHP2026版

v1.2.2(1mo ago)06↓88.9%MITPHPPHP &gt;=8.0

Since Jun 2Pushed 1mo agoCompare

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

READMEChangelog (2)DependenciesVersions (3)Used By (0)

宝塔/aaPanel面板API接口PHP版本
----------------------

[](#宝塔aapanel面板api接口php版本)

##### 环境

[](#环境)

- php &gt;=8.0+

#### What's new?

[](#whats-new)

- 支持 Thinkphp8.x
- 支持 PHP8.5不出错
- 同时支持 aaPanel和宝塔面板
- 支持 V2版本的 API

#### 说明

[](#说明)

- 优先支持 PHP8.5但是也兼容 PHP8.2

#### Features

[](#features)

ModuleTypesHighlights**Websites**PHPCreate/delete/start/stop sites, domains, SSL, redirects, rewrite rules, backups, traffic limits, password access, logs, PHP version switch**Databases**MySQLCRUD, passwords, backup/restore, SQL import**FTP**—Accounts CRUD, password change, enable/disable**Files**—Upload files**SSL**—Let's Encrypt certificates, deploy, renew, close, HTTPS redirect**System**—System stats, disk info, network, panel updates, task count**Plugin**—Deployment list, setup packages, speed test#### 安装

[](#安装)

```
composer require tobycroft/btapi
```

#### 使用说明

[](#使用说明)

```
use tobycroft\Bt\System;

// Database|File|Ftp|Plugin|Site|System
// 以上都extends了[Base]都可以调用,如以下示例
$bt = new System('http://127.0.0.1:8888', 'Key', 'cookie保存目录设置');
$bt->getSystemTotal();
```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance90

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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 ~0 days

Total

2

Last Release

52d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/04f1f999374b5cfe445b20e876e6f22d89fa91bce2f421295cd43ba0f8095865?d=identicon)[tobycroft](/maintainers/tobycroft)

---

Top Contributors

[![tobycroft](https://avatars.githubusercontent.com/u/24893075?v=4)](https://github.com/tobycroft "tobycroft (9 commits)")

### Embed Badge

![Health badge](/badges/tobycroft-btapi/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k18](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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