From 1cb26e6da0bfe4246d6370b9560ecb7d616486aa Mon Sep 17 00:00:00 2001 From: "lei.tian" Date: Thu, 30 Jun 2022 18:49:40 +0800 Subject: [PATCH] fix README.md --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 840217b..3742186 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,15 @@ -### ip2region SDK for PHP +# ip2region SDK for PHP + +[![Author](https://img.shields.io/badge/author-@chinayin-blue.svg)](https://github.com/chinayin) +[![Software License](https://img.shields.io/badge/license-Apache--2.0-brightgreen.svg)](LICENSE) +[![Latest Version](https://img.shields.io/packagist/v/chinayin/ip2region-core.svg)](https://packagist.org/packages/chinayin/ip2region-core) +[![Total Downloads](https://img.shields.io/packagist/dt/chinayin/ip2region-core.svg)](https://packagist.org/packages/chinayin/ip2region-core) +![php 7.1+](https://img.shields.io/badge/php-min%207.1-red.svg) ### Installation +运行环境要求 PHP 7.1 及以上版本,以及[cURL](http://php.net/manual/zh/book.curl.php)。 + #### 官方原生查询包 特点:包更小,数据路径自定义 @@ -12,7 +20,7 @@ 特点:`xdb数据`封装在composer包内,数据会不定期更新 -使用方法:[chinayin/ip2region](https://github.com/chinayin/ip2region-sdk-php) +使用方法:[github.com/chinayin/ip2region](https://github.com/chinayin/ip2region-sdk-php) > composer require chinayin/ip2region