Download the PHP package ip2location/codeigniter-ip2location without Composer
On this page you can find all versions of the php package ip2location/codeigniter-ip2location. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ip2location/codeigniter-ip2location
More information about ip2location/codeigniter-ip2location
Files in ip2location/codeigniter-ip2location
Package codeigniter-ip2location
Short Description IP2Location library for CodeIgniter. Use IP2Location geolocation database to lookup the country, region, city, coordinates, zip code, time zone, ISP, domain name, connection type, area code, weather, MCC, MNC, mobile brand name, elevation, usage type, IP address type and IAB advertising category from IP address using IP2Location database.
License MIT
Homepage https://www.ip2location.com
Informations about the package codeigniter-ip2location
CodeIgniter IP2Location Library
This module enables users to retrieve below geolocation information from an IP address. It supports both the IPv4 and IPv6 address.
- Country
- Region
- City
- Latitude & Longitude
- ZIP Code
- Time Zone
- Area Code
- Net Speed
- ISP
- Domain
- Mobile Information
- Weather Station Information
- Elevation
- Usage Type
- Address Type
- Category
Installation
Upload controllers
and libraries
to CodeIgniter application
folder.
Usage
This module is able to query the IP address information from either BIN database or web service. This section will explain how to use this extension to query from BIN database and web service.
Sample codes are given in this project, under controllers folder. You may run the sample code by using
BIN Database
Use following codes in your application for get geolocation information.
Below are the methods supported for BIN data file lookup.
Web Service
Use following codes in your application for get geolocation information.
IPTools
Use following codes in your application for get IPTools class information.
Dependencies
This module requires IP2Location BIN data file or IP2Location API key to function. You may download the BIN data file at
- IP2Location LITE BIN Data (Free): https://lite.ip2location.com
- IP2Location Commercial BIN Data (Comprehensive): https://www.ip2location.com
An outdated BIN database was provided in this release for your testing. You are recommended to visit the above links to download the latest BIN database.
For the BIN database update, you can just rename the downloaded BIN database to IP2LOCATION-DB.BIN and replace the copy in application/libraries/ip2location/ (if you didn't change the default IP2LOCATION_DATABASE constant as described in the Usage section).
You can also sign up for IP2Location Web Service to get one free API key.
IPv4 BIN vs IPv6 BIN
- Use the IPv4 BIN file if you just need to query IPv4 addresses.
- Use the IPv6 BIN file if you need to query BOTH IPv4 and IPv6 addresses.
SUPPORT
Email: [email protected]
Website: https://www.ip2location.com