<?php

return [

    'driver' => env('GEOLOCATION_DRIVER', 'ip-api'),

    'cache_ttl' => (int) env('GEOLOCATION_CACHE_TTL', 86400),

    'drivers' => [

        'ip-api' => [
            'endpoint' => env('GEOLOCATION_IP_API_ENDPOINT', 'http://ip-api.com/json'),
            'timeout' => (int) env('GEOLOCATION_HTTP_TIMEOUT', 2),
        ],

    ],

];
