|
6 | 6 | | GeoIP Driver Type |
7 | 7 | |-------------------------------------------------------------------------- |
8 | 8 | | |
9 | | - | Supported: "ip-api", "telize", "maxmind" |
| 9 | + | Supported: "freegeoip", "ip-api", "maxmind", "telize" |
10 | 10 | | |
11 | 11 | */ |
12 | 12 | 'driver' => env('GEOIP_DRIVER', 'ip-api'), |
|
20 | 20 |
|
21 | 21 | /* |
22 | 22 | |-------------------------------------------------------------------------- |
23 | | - | IP-API Driver |
| 23 | + | Free GeoIP Driver |
24 | 24 | |-------------------------------------------------------------------------- |
25 | 25 | */ |
26 | | - 'ip-api' => [ |
| 26 | + 'freegeoip' => [ |
27 | 27 | /* |
28 | 28 | |-------------------------------------------------------------------------- |
29 | | - | IP-API Pro Service Key |
| 29 | + | Free GeoIP url |
30 | 30 | |-------------------------------------------------------------------------- |
31 | 31 | | |
32 | | - | Check out pro here: https://signup.ip-api.com/ |
| 32 | + | Url to self hosted freegeoip (including port) without protocol |
33 | 33 | | |
34 | 34 | */ |
35 | | - 'key' => env('GEOIP_IPAPI_KEY'), |
| 35 | + 'url' => env('GEOIP_FREEGEOIP_URL'), |
36 | 36 |
|
37 | 37 | /* |
38 | 38 | |-------------------------------------------------------------------------- |
39 | | - | IP-API Secure connection |
| 39 | + | Free GeoIP Secure connection |
40 | 40 | |-------------------------------------------------------------------------- |
41 | 41 | | |
42 | 42 | | Use http or https |
43 | | - | Only applicable with the Pro service |
44 | 43 | | |
45 | 44 | */ |
46 | | - 'secure' => env('GEOIP_IPAPI_SECURE', true), |
| 45 | + 'secure' => env('GEOIP_FREEGEOIP_SECURE', true), |
47 | 46 | ], |
48 | 47 |
|
49 | 48 | /* |
50 | 49 | |-------------------------------------------------------------------------- |
51 | | - | Telize Driver |
| 50 | + | IP-API Driver |
52 | 51 | |-------------------------------------------------------------------------- |
53 | 52 | */ |
54 | | - 'telize' => [ |
| 53 | + 'ip-api' => [ |
55 | 54 | /* |
56 | 55 | |-------------------------------------------------------------------------- |
57 | | - | Telize Service Key |
| 56 | + | IP-API Pro Service Key |
58 | 57 | |-------------------------------------------------------------------------- |
59 | 58 | | |
60 | | - | Get your API key here: https://market.mashape.com/fcambus/telize |
| 59 | + | Check out pro here: https://signup.ip-api.com/ |
61 | 60 | | |
62 | 61 | */ |
| 62 | + 'key' => env('GEOIP_IPAPI_KEY'), |
63 | 63 |
|
64 | | - 'key' => env('GEOIP_TELIZE_KEY'), |
| 64 | + /* |
| 65 | + |-------------------------------------------------------------------------- |
| 66 | + | IP-API Secure connection |
| 67 | + |-------------------------------------------------------------------------- |
| 68 | + | |
| 69 | + | Use http or https |
| 70 | + | Only applicable with the Pro service |
| 71 | + | |
| 72 | + */ |
| 73 | + 'secure' => env('GEOIP_IPAPI_SECURE', true), |
65 | 74 | ], |
66 | 75 |
|
67 | 76 | /* |
|
88 | 97 | 'user_id' => env('GEOIP_MAXMIND_USER_ID'), |
89 | 98 | 'license_key' => env('GEOIP_MAXMIND_LICENSE_KEY'), |
90 | 99 | ], |
| 100 | + |
| 101 | + /* |
| 102 | + |-------------------------------------------------------------------------- |
| 103 | + | Telize Driver |
| 104 | + |-------------------------------------------------------------------------- |
| 105 | + */ |
| 106 | + 'telize' => [ |
| 107 | + /* |
| 108 | + |-------------------------------------------------------------------------- |
| 109 | + | Telize Service Key |
| 110 | + |-------------------------------------------------------------------------- |
| 111 | + | |
| 112 | + | Get your API key here: https://market.mashape.com/fcambus/telize |
| 113 | + | |
| 114 | + */ |
| 115 | + |
| 116 | + 'key' => env('GEOIP_TELIZE_KEY'), |
| 117 | + ], |
91 | 118 | ]; |
0 commit comments