Download the PHP package ip2location/ip2location-piwik without Composer

On this page you can find all versions of the php package ip2location/ip2location-piwik. 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 ip2location-piwik

IP2Location Matomo

Latest Stable Version Total Downloads

Description

This IP2Location plugin enables more accurate location lookup in your Matomo visitor log.

You need a IP2Location BIN database to make this plugin works. Database is available for free at

https://lite.ip2location.com or https://www.ip2location.com for a commercial database.

Installation / Update

  1. Login into your Matomo administrator page.
  2. Go to System → Plugins.
  3. Click on the Install New Plugins button at the bottom of the page.
  4. Search for IP2Location from the plugin page.
  5. Install and activate the plugin.
  6. Upload a IP2Location BIN database to misc folder.
  7. Navigate to System → IP2Location page to make sure the BIN database is detected by the plugin.
  8. Go to System → Geolocation.
  9. Select IP2Location as provider and save.

Configure settings

You can visit IP2Location Settings by selecting the menu on the left pane (under System). This plugin support geolocation lookup using IP2Location BIN file and web service.

To use BIN file, please download it from the below links

To use ip2location.io Geolocation API service, please sign up for the free account at

How to import the IP2Location BIN file for usage

You should copy the BIN file into /var/www/html/misc folder (for default installation). If you customize the installation path, it should be the misc folder inside your root folder.

If you are using Matomo docker image, then you can use below command to copy the BIN into Matomo container.

FAQ

How to I configure the plugin?

Login as administrator, then go to System → IP2Location.

Where to download IP2Location database?

You can download IP2Location database for free at https://lite.ip2location.com or commercial version from https://www.ip2location.com

Can I use IP2Location.io Geolocation API service?

Yes, please create an account from https://www.ip2location.io/ and insert your API key in the settings page.

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.

License

GPL v3 / fair use

Support

Website: https://www.ip2location.com Email: [email protected]


All versions of ip2location-piwik with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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/ip2location-piwik contains the following files

Loading the files please wait ....