aist/geoip-adapter

Geolocation GeoIp2 Db Adapter

dev-master 2018-08-29 11:49 UTC

README

Build status Coverage Status Code Climate Packagist

License

Installation

Install via composer:

$ composer require --dev aist/geoip-adapter

Configuration

Add your geoip database files to local config

return [
    'geoip' => [
        adapter => [
            \Aist\GeoIp2\Adapter\DbAdapter::class => [
                
            ],
        ],
        'files' => [
            'city' => '',
            'country' => '',
            'asn' => '',
        ],
    ],
];