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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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.

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 /index.php/ip2location_test.

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

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

SUPPORT

Email: [email protected]

Website: https://www.ip2location.com


All versions of codeigniter-ip2location with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ip2location/codeigniter-ip2location contains the following files

Loading the files please wait ....