Skip to content

Commit fde2f00

Browse files
committed
Optimize README file
1 parent e12b9d2 commit fde2f00

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

README-CN.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<p align="center">
66
<a href="https://github.com/Fenguoz/tron-php/releases"><img src="https://poser.pugx.org/Fenguoz/tron-php/v/stable" alt="Stable Version"></a>
77
<a href="https://www.php.net"><img src="https://img.shields.io/badge/php-%3E=7.2-brightgreen.svg?maxAge=2592000" alt="Php Version"></a>
8-
<a href="https://github.com/hyperf/hyperf/blob/master/LICENSE"><img src="https://img.shields.io/github/license/hyperf/hyperf.svg?maxAge=2592000" alt="Hyperf License"></a>
8+
<a href="https://github.com/Fenguoz/tron-php/blob/master/LICENSE"><img src="https://img.shields.io/github/license/fenguoz/tron-php.svg?maxAge=2592000" alt="tron-php License"></a>
99
<a href="https://packagist.org/packages/Fenguoz/tron-php"><img src="https://poser.pugx.org/Fenguoz/tron-php/downloads" alt="Total Downloads"></a>
1010
</p>
1111

@@ -33,10 +33,16 @@ TRON-PHP 目前支持波场的 TRX 和 TRC20 中常用生成地址,发起转
3333

3434
### 安装
3535

36+
PHP8
3637
``` php
3738
composer require fenguoz/tron-php
3839
```
3940

41+
or PHP7
42+
``` php
43+
composer require fenguoz/tron-php ~1.3
44+
```
45+
4046
### 接口调用
4147

4248
``` php
@@ -68,7 +74,7 @@ $addressData = $trc20Wallet->generateAddress();
6874

6975
| 扩展包名 | 描述 | 应用场景 |
7076
| :-----| :---- | :---- |
71-
| [iexbase/tron-api](https://github.com/iexbase/tron-api) | 波场官方文档推荐 PHP 扩展包 | 波场基础Api |
77+
| [fenguoz/tron-api](https://github.com/fenguoz/tron-api) | 波场官方文档推荐 PHP 扩展包 | 波场基础Api |
7278

7379
## 🌟🌟
7480

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ English | [中文](./README-CN.md)
55
<p align="center">
66
<a href="https://github.com/Fenguoz/tron-php/releases"><img src="https://poser.pugx.org/Fenguoz/tron-php/v/stable" alt="Stable Version"></a>
77
<a href="https://www.php.net"><img src="https://img.shields.io/badge/php-%3E=7.2-brightgreen.svg?maxAge=2592000" alt="Php Version"></a>
8-
<a href="https://github.com/hyperf/hyperf/blob/master/LICENSE"><img src="https://img.shields.io/github/license/hyperf/hyperf.svg?maxAge=2592000" alt="Hyperf License"></a>
8+
<a href="https://github.com/Fenguoz/tron-php/blob/master/LICENSE"><img src="https://img.shields.io/github/license/fenguoz/tron-php.svg?maxAge=2592000" alt="tron-php License"></a>
99
<a href="https://packagist.org/packages/Fenguoz/tron-php"><img src="https://poser.pugx.org/Fenguoz/tron-php/downloads" alt="Total Downloads"></a>
1010
</p>
1111

@@ -33,10 +33,16 @@ Support TRON's TRX and TRC20, which include functions such as address creation,
3333

3434
### Install
3535

36+
PHP8
3637
``` php
3738
composer require fenguoz/tron-php
3839
```
3940

41+
or PHP7
42+
``` php
43+
composer require fenguoz/tron-php ~1.3
44+
```
45+
4046
### Interface
4147

4248
``` php
@@ -68,7 +74,7 @@ $addressData = $trc20Wallet->generateAddress();
6874

6975
| Name | description | Scenes |
7076
| :-----| :---- | :---- |
71-
| [iexbase/tron-api](https://github.com/iexbase/tron-api) | TRON official document recommends PHP extension package | TRON basic API |
77+
| [Fenguoz/tron-api](https://github.com/Fenguoz/tron-api) | TRON official document recommends PHP extension package | TRON basic API |
7278

7379
## 🌟🌟
7480

0 commit comments

Comments
 (0)