Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/TIM168/Ip
Browse files Browse the repository at this point in the history
  • Loading branch information
suppermoment committed Jul 2, 2020
2 parents 04d1c83 + 166d6ab commit 2a76c0a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ $ composer require tim168/ip
```

## Use
require __DIR__ .'/vendor/autoload.php';

use Tim168\Ip\Ip;

$ip = new Ip('zh-CN'); //Support the following languages
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
[![Latest Unstable Version](https://poser.pugx.org/tim168/ip/v/unstable)](https://packagist.org/packages/tim168/ip)
[![Total Downloads](https://poser.pugx.org/tim168/ip/downloads)](https://packagist.org/packages/tim168/ip)
[![composer.lock](https://poser.pugx.org/tim168/ip/composerlock)](https://packagist.org/packages/tim168/ip)
<a href="https://www.php.net/"><img src="https://img.shields.io/badge/php-%3E%3D5.6-blue"></a>

README: [中文](https://github.com/TIM168/Ip/blob/master/README.md "中文")/[English](https://github.com/TIM168/Ip/blob/master/README-en.md "English")

Expand All @@ -18,6 +19,8 @@ $ composer require tim168/ip
```

## 使用
require __DIR__ .'/vendor/autoload.php';

use Tim168\Ip\Ip;

$ip = new Ip('zh-CN'); //支持以下语言
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
}
],
"require": {
"php": ">=5.6",
"guzzlehttp/guzzle": "^6.5",
"phpunit/phpunit": "~5",
"ext-mbstring": "*"
Expand Down

0 comments on commit 2a76c0a

Please sign in to comment.