aist/geoip-adapter

Geolocation GeoIp2 Db Adapter

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

This package is not auto-updated.

Last update: 2024-04-14 02:19:06 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' => '',
        ],
    ],
];