File tree 3 files changed +6
-0
lines changed
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ $ composer require tim168/ip
18
18
```
19
19
20
20
## Use
21
+ require __DIR__ .'/vendor/autoload.php';
22
+
21
23
use Tim168\Ip\Ip;
22
24
23
25
$ip = new Ip('zh-CN'); //Support the following languages
Original file line number Diff line number Diff line change 8
8
[ ![ Latest Unstable Version] ( https://poser.pugx.org/tim168/ip/v/unstable )] ( https://packagist.org/packages/tim168/ip )
9
9
[ ![ Total Downloads] ( https://poser.pugx.org/tim168/ip/downloads )] ( https://packagist.org/packages/tim168/ip )
10
10
[ ![ composer.lock] ( https://poser.pugx.org/tim168/ip/composerlock )] ( https://packagist.org/packages/tim168/ip )
11
+ <a href =" https://www.php.net/ " ><img src =" https://img.shields.io/badge/php-%3E%3D5.6-blue " ></a >
11
12
12
13
README: [ 中文] ( https://github.com/TIM168/Ip/blob/master/README.md " 中文 ") /[ English] ( https://github.com/TIM168/Ip/blob/master/README-en.md " English ")
13
14
@@ -18,6 +19,8 @@ $ composer require tim168/ip
18
19
```
19
20
20
21
## 使用
22
+ require __DIR__ .'/vendor/autoload.php';
23
+
21
24
use Tim168\Ip\Ip;
22
25
23
26
$ip = new Ip('zh-CN'); //支持以下语言
Original file line number Diff line number Diff line change 9
9
}
10
10
],
11
11
"require" : {
12
+ "php" : " >=5.6" ,
12
13
"guzzlehttp/guzzle" : " ^6.5" ,
13
14
"phpunit/phpunit" : " ~5" ,
14
15
"ext-mbstring" : " *"
You can’t perform that action at this time.
0 commit comments