Code Monkey home page Code Monkey logo

qqwry's Introduction

QQWRY IP Location v1.0

使用QQWRY.dat IP 数据库,查找IP对应的 省、市、地区等信息。

Version

QQWRY.dat 版本 : 2016-12-25

##Installation composer require zt/qqwry

##How To Use

详细使用介绍查看项目example.php,下面列出一个简单的使用介绍

   use \T\Ip;
   $ip = new Ip();
   $ip->getProvince('X.X.X.X');
   $ip->getCity('X.X.X.X');
   $ip->getArea('X.X.X.X');

   $ip->getProvince('http://www.baidu.com');
   $ip->getCity('http://www.baidu.com');
   $ip->getArea('http://www.baidu.com');

##Bug && Contact Author

qqwry's People

Contributors

hizt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

qqwry's Issues

composer 安装不了了吗?

I:\PhpstormProjects\home>composer require zt/qqwry
Using version ^1.0 for zt/qqwry
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files

Installation failed, reverting ./composer.json to its original content.

[InvalidArgumentException]
psr-4 namespaces must end with a namespace separator, 'empty' does not, use 'empty'.

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] []...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.