/tgeoip

The GeoIP Joomla Plugin used by Tassos.gr software for locating a user's psychical location via their IP address. Based on the MaxMind GetLite2 database.

Primary LanguagePHP

A Joomla system plugin that provides geolocation services to Tassos.gr Joomla extensions.

Install

After you've cloned the repo you must install PHP dependencies in the tgeoip folder.

cd source/plugins/system/tgeoip
composer install

Prefixing vendor namespaces

  • Install php-scoper
  • cd to source/plugins/system/tgeoip
  • Generate prefixed vendor code (default prefix: Tassos\Vendor\): php-scoper add-prefix
  • Replace the vendor folder with build/vendor, delete build folder
  • Generate new autoloader: composer dump-autoload

php-scoper configuration file: php-scoper.inc.php

Used by

The TGeoIP plugin is currently being used by the following extensions

EngageBox, Convert Forms and Advanced Custom Fields