Skip to content

Commit 9dd27f1

Browse files
authored
Update README.md
1 parent 4212753 commit 9dd27f1

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,57 @@
11
Outputs information about PHP's configuration
22
======
33

4-
`phpinfo()`函数的laravel-admin版本, Inspired by [nova-phpinfo](https://github.com/davidpiesse/nova-phpinfo)
4+
The laravel-admin version of the `phpinfo()` function,, Inspired by [nova-phpinfo](https://github.com/davidpiesse/nova-phpinfo)
55

6-
## 截图
6+
## Screenshot
77

88
![wx20180906-141140](https://user-images.githubusercontent.com/1479100/45138456-113f8900-b1df-11e8-98f0-399cb1e2e1b2.png)
99

10-
## 安装
10+
## Installation
1111

1212
```bash
1313
composer require laravel-admin-ext/phpinfo
1414
```
1515

16-
如果要在左侧菜单添加一个链接入口,用下面的命令导入
16+
If you want to add a link entry in the left menu, use the following command to import
1717
```bash
1818
php artisan admin:import phpinfo
1919
```
2020

21-
## 配置
21+
## Configuration
2222

23-
`config/admin.php`文件的`extensions`,加上属于这个扩展的配置
23+
In the `extensions` section of the `config/admin.php` file, add configurations
2424
```php
2525

2626
'extensions' => [
2727

2828
'phpinfo' => [
2929

30-
// 如果要关掉这个扩展,设置为false
30+
// Set this to false if you want to disable this extension
3131
'enable' => true,
3232

33-
// 设置要显示的内容,参考 http://php.net/manual/en/function.phpinfo.php#refsect1-function.phpinfo-parameters
33+
// What information to show,see http://php.net/manual/en/function.phpinfo.php#refsect1-function.phpinfo-parameters
3434
'what' => INFO_ALL,
3535

36-
// 设置访问路径,默认为phpinfo
36+
// Set access path,defaults to `phpinfo`
3737
//'path' => '~phpinfo',
3838
]
3939
]
4040

4141
```
4242

43-
## 使用
43+
## Usage
4444

45-
安装完成之后打开`http://localhost/admin/phpinfo`
45+
Open `http://localhost/admin/phpinfo` in your broswer after install
4646

47-
## 支持
47+
## Donate
4848

49-
如果觉得这个项目帮你节约了时间,不妨支持一下;)
49+
> Help keeping the project development going, by donating a little. Thanks in advance.
50+
51+
[![PayPal Me](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/zousong)
5052

5153
![-1](https://cloud.githubusercontent.com/assets/1479100/23287423/45c68202-fa78-11e6-8125-3e365101a313.jpg)
5254

5355
License
5456
------------
55-
Licensed under [The MIT License (MIT)](LICENSE).
57+
Licensed under [The MIT License (MIT)](LICENSE).

0 commit comments

Comments
 (0)