{"id":21945871,"url":"https://github.com/ip2location/ipinfodb-php","last_synced_at":"2025-04-22T21:23:59.405Z","repository":{"id":56993035,"uuid":"133733038","full_name":"ip2location/ipinfodb-php","owner":"ip2location","description":"PHP library to query free IPInfoDB API service.","archived":false,"fork":false,"pushed_at":"2024-01-03T06:38:58.000Z","size":7,"stargazers_count":16,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-18T21:16:50.581Z","etag":null,"topics":["geolocation","geolocation-api","geolocation-database","ip-address-api","ip-address-lookup","ip2location","ipinfodb","ipinfodb-php"],"latest_commit_sha":null,"homepage":"https://ipinfodb.com/api","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ip2location.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.TXT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-16T23:22:22.000Z","updated_at":"2024-11-16T10:22:46.000Z","dependencies_parsed_at":"2022-08-21T12:50:57.943Z","dependency_job_id":null,"html_url":"https://github.com/ip2location/ipinfodb-php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fipinfodb-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fipinfodb-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fipinfodb-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ip2location%2Fipinfodb-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ip2location","download_url":"https://codeload.github.com/ip2location/ipinfodb-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250325921,"owners_count":21412175,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geolocation","geolocation-api","geolocation-database","ip-address-api","ip-address-lookup","ip2location","ipinfodb","ipinfodb-php"],"created_at":"2024-11-29T04:19:54.243Z","updated_at":"2025-04-22T21:23:59.384Z","avatar_url":"https://github.com/ip2location.png","language":"PHP","readme":"[![Latest Stable Version](https://img.shields.io/packagist/v/ip2location/ipinfodb-php.svg)](https://packagist.org/packages/ip2location/ipinfodb-php)\n[![Total Downloads](https://img.shields.io/packagist/dt/ip2location/ipinfodb-php.svg?style=flat-square)](https://packagist.org/packages/ip2location/ipinfodb-php)  \n\nIPInfoDB PHP\n==============\n\nThis IPInfoDB PHP class provides a fast lookup of country, region, city, latitude, longitude, ZIP code  and time zone as values. The IPInfoDB web service is designed for server-to-server call.\n\nThis library can be used in many types of projects such as:\n\n - Locate where is your website visitors come from\n - Analyze your web server logs to determine the countries of your visitors\n - Country blocker\n - Page redirection according to country\n - Geotargeting in advertisement\n\nIPInfoDB free API uses the geolocation data from [IP2Location LITE database](https://lite.ip2location.com).  IP2Location Commercial version provides higher accuracy is available at https://www.ip2location.com/web-service with no rate limit.\n\n## Methods\nBelow are the methods supported in this class.\n\n|Method Name|Description|\n|---|---|\n|getCountry|Return country code and country name information of the IP address.|\n|getCity|Return city information of the IP address, such as region, city, latitude, longitude, ZIP Code and time zone.|\n\n\n## FAQ\n\n\n\n#### How to I get the API key?\n\nPlease register your API key at https://ipinfodb.com/register.\n\n\n\n#### Is there any restriction for using this web service?\n\nThere is a rate limit of 2 queries per second.\n\n\n\nCopyright\n=========\n\nCopyright (C) 2021 - 2024 by IPInfoDB.com, support@ipinfodb.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fip2location%2Fipinfodb-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fip2location%2Fipinfodb-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fip2location%2Fipinfodb-php/lists"}