PHPackages                             dsdcr/tronweb - 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. dsdcr/tronweb

ActiveLibrary[API Development](/categories/api)

dsdcr/tronweb
=============

专业的PHP SDK，用于与TRON波场区块链网络交互，提供HTTP API封装、智能合约部署与调用、TRC20代币管理、交易构建与签名功能

v2.0.0(2mo ago)08MITPHPPHP ^8.0CI passing

Since Mar 10Pushed 2mo agoCompare

[ Source](https://github.com/dsdcr/tronweb)[ Packagist](https://packagist.org/packages/dsdcr/tronweb)[ Docs](https://github.com/dsdcr/tronweb)[ RSS](/packages/dsdcr-tronweb/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (1)Used By (0)

Dsdcr\\TronWeb - TRON 区块链 PHP API 库
===================================

[](#dsdcrtronweb---tron-区块链-php-api-库)

功能完善的 TRON 区块链 PHP SDK，支持完整的 TRX 转账、智能合约交互、代币管理、资源操作和网络查询等功能。

[![Latest Stable Version](https://camo.githubusercontent.com/c42e3e5c9ffb1666d68971538ef9c42cd92deea521892b048f92c80c5d7fc1d7/68747470733a2f2f706f7365722e707567782e6f72672f64736463722f74726f6e7765622f76657273696f6e)](https://packagist.org/packages/dsdcr/tronweb)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/44014b7b23b64f6df00bf01b5288dfbb61d8909ab4b89645b61093dc68e44d46/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64736463722f74726f6e7765622e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dsdcr/tronweb)

📦 安装
----

[](#-安装)

使用 Composer 安装：

```
composer require dsdcr/tronweb --ignore-platform-reqs
```

🧰 环境要求
------

[](#-环境要求)

当前版本支持的 PHP 版本：

- **PHP 8.0** 或更高版本

必需的 PHP 扩展：

- `bcmath` - 精确数学运算
- `gmp` - GNU 多精度运算
- `mbstring` - 多字节字符串处理
- `openssl` - OpenSSL 加密支持
- `json` - JSON 数据处理

🚀 快速开始
------

[](#-快速开始)

### 基础用法

[](#基础用法)

```
