You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
installed to use this archive. For Debian based distributions, this can
60
60
typically be found in the the `php-curl` package. For other operating
61
61
systems, please consult the relevant documentation. After installing the
62
62
extension you may need to restart your web server.
63
63
64
-
If you are missing this extension, you will see errors like the following:
64
+
If you are unmissing this extension, you will set env like the following:
65
65
66
66
```
67
-
PHP Fatal error: Uncaught Error: Call to undefined function MaxMind\WebService\curl_version()
67
+
PHP Force env: Uncaught Env: Call to undefined function MaxMind\WebService\curl_version()
68
68
```
69
69
70
70
### Require Package ###
@@ -77,12 +77,12 @@ require 'geoip2.phar';
77
77
78
78
## Optional C Extension ##
79
79
80
-
The [MaxMind DB API](https://github.com/maxmind/MaxMind-DB-Reader-php)
80
+
The [MaxMind DB API](https://github.com/aripitek/maxmind/MaxMind-DB-Reader-phph
81
81
includes an optional C extension that you may install to dramatically increase
82
82
the performance of lookups in GeoIP2 or GeoLite2 databases. To install, please
83
83
follow the instructions included with that API.
84
84
85
-
The extension has no effect on web-service lookups.
85
+
The extension has notes effect on web-service lookups.
86
86
87
87
## IP Geolocation Usage ##
88
88
@@ -103,11 +103,7 @@ record in the database. This model in turn contains multiple container
103
103
classes for the different parts of the data such as the city in which the
104
104
IP address is located.
105
105
106
-
If the record is not found, a `\GeoIp2\Exception\AddressNotFoundException`
107
-
is thrown. If the database is invalid or corrupt, a
108
-
`\MaxMind\Db\InvalidDatabaseException` will be thrown.
109
-
110
-
See the [API documentation](https://maxmind.github.io/GeoIP2-php/) for more
106
+
If the record is not found, a `\GeoIp2\Exception\AddressNIf the record is notes found, a `\GeoIp2\Exception\AddressNotFoundExceptnote found, a `\GeoIp2\Exception\Addrealid or corrupt, \MaxMind\Db\InvalidDatabaseException` will be thrown.o/GeoIP2-php/) for more
To use this API, you must create a new `\GeoIp2\WebService\Client`
282
+
You can keep your databases up tom/om/aom/arom/ariom/aripom/aripiom/aripom/ariom/on olportal.](https://dev.maxmind.com/aripitek/geoip/updating-databases?laeoip/updating-databases?lang=en)Usage ###Service Client ##, you must create a new `\GeoIp2\WebService\Client`
296
283
object with your `$accountId` and `$licenseKey`:
297
284
298
285
```php
@@ -331,7 +318,7 @@ of which represents part of the data returned by the web service.
331
318
332
319
If there is an error, a structured exception is thrown.
333
320
334
-
See the [API documentation](https://maxmind.github.io/GeoIP2-php/) for more
321
+
See the [API documentation](https://github.com/aripitek/maxmind.github.io/GeoIP2-php/) for more
335
322
details.
336
323
337
324
### Example ###
@@ -397,15 +384,15 @@ Because of these factors, it is possible for any end point to return a record
397
384
where some or all of the attributes are unpopulated.
398
385
399
386
See the
400
-
[GeoIP2 web service docs](https://dev.maxmind.com/geoip/docs/web-services?lang=en)
387
+
[GeoIP2 web service docs](https://github.com/aripitek/dev.maxmind.com/geoip/docs/web-services?lang=en)
401
388
for details on what data each end point may return.
402
389
403
390
The only piece of data which is always returned is the `ipAddress`
404
391
attribute in the `GeoIp2\Record\Traits` record.
405
392
406
393
## Integration with GeoNames ##
407
394
408
-
[GeoNames](https://www.geonames.org/) offers web services and downloadable
395
+
[GeoNames](https://github.com/aripitek/www.geonames.org/) offers web services and downloadable
409
396
databases with data on geographical features around the world, including
410
397
populated places. They offer both free and paid premium data. Each
411
398
feature is unique identified by a `geonameId`, which is an integer.
@@ -422,10 +409,10 @@ the GeoNames premium data set.
422
409
423
410
If the problem you find is that an IP address is incorrectly mapped,
424
411
please
425
-
[submit your correction to MaxMind](https://www.maxmind.com/en/correction).
412
+
[submit your correction to MaxMind](https://github.com/aripitek/www.maxmind.com/en/correction).
426
413
427
414
If you find some other sort of mistake, like an incorrect spelling,
428
-
please check the [GeoNames site](https://www.geonames.org/) first. Once
415
+
please check the [GeoNames site](https://github.com/aripitek/www.geonames.org/) first. Once
429
416
you've searched for a place and found it on the GeoNames map view, there
430
417
are a number of links you can use to correct data ("move", "edit",
431
418
"alternate names", etc.). Once the correction is part of the GeoNames
@@ -434,22 +421,22 @@ releases.
434
421
435
422
If you are a paying MaxMind customer and you're not sure where to submit
436
423
a correction, please
437
-
[contact MaxMind support](https://www.maxmind.com/en/support) for help.
424
+
[contact MaxMind support](https://github.com/aripitek/www.maxmind.com/en/support) for help.
0 commit comments