Skip to content

Commit ee5c2d3

Browse files
oschwaldclaude
andcommitted
Update stale and redirecting links
Validated all links with lychee and updated those that were out of date or redirected elsewhere: - dev.maxmind.com doc URLs now use canonical trailing-slash form - php.net manual links -> www.php.net - www.maxmind.com/en/correction -> /en/geoip-data-correction-request - www.maxmind.com/en/support -> support.maxmind.com/knowledge-base - www.maxmind.com/ -> /en/home Historical CHANGELOG.md entries are intentionally left unchanged. Part of STF-557. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4a6dfd8 commit ee5c2d3

7 files changed

Lines changed: 16 additions & 16 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,6 @@ vendor/bin/phpunit
323323
## Additional Resources
324324

325325
- [API Documentation](https://maxmind.github.io/GeoIP2-php/)
326-
- [GeoIP Web Services Docs](https://dev.maxmind.com/geoip/docs/web-services)
326+
- [GeoIP Web Services Docs](https://dev.maxmind.com/geoip/docs/web-services/)
327327
- [MaxMind DB Format](https://maxmind.github.io/MaxMind-DB/)
328328
- GitHub Issues: https://github.com/maxmind/GeoIP2-php/issues

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Description
44

55
This package provides an API for the GeoIP and GeoLite
6-
[web services](https://dev.maxmind.com/geoip/docs/web-services?lang=en) and
7-
[databases](https://dev.maxmind.com/geoip/docs/databases?lang=en).
6+
[web services](https://dev.maxmind.com/geoip/docs/web-services/?lang=en) and
7+
[databases](https://dev.maxmind.com/geoip/docs/databases/?lang=en).
88

99
## Install via Composer
1010

@@ -45,18 +45,18 @@ require 'vendor/autoload.php';
4545
## Install via Phar
4646

4747
Although we strongly recommend using Composer, we also provide a
48-
[phar archive](https://php.net/manual/en/book.phar.php) containing most of the
48+
[phar archive](https://www.php.net/manual/en/book.phar.php) containing most of the
4949
dependencies for GeoIP. Our latest phar archive is available on
5050
[our releases page](https://github.com/maxmind/GeoIP2-php/releases).
5151

5252
### Install Dependencies
5353

5454
In order to use the phar archive, you must have the PHP
55-
[Phar extension](https://php.net/manual/en/book.phar.php) installed and
55+
[Phar extension](https://www.php.net/manual/en/book.phar.php) installed and
5656
enabled.
5757

5858
If you will be making web service requests, you must have the PHP
59-
[cURL extension](https://php.net/manual/en/book.curl.php) installed to use
59+
[cURL extension](https://www.php.net/manual/en/book.curl.php) installed to use
6060
this archive. For Debian-based distributions, this can typically be found in
6161
the `php-curl` package. For other operating systems, please consult the
6262
relevant documentation. After installing the extension you may need to restart
@@ -286,7 +286,7 @@ print($record->network . "\n"); // '128.101.101.101/32'
286286

287287
You can keep your databases up to date with our
288288
[GeoIP Update program](https://github.com/maxmind/geoipupdate/releases).
289-
[Learn more about GeoIP Update on our developer portal.](https://dev.maxmind.com/geoip/updating-databases?lang=en)
289+
[Learn more about GeoIP Update on our developer portal.](https://dev.maxmind.com/geoip/updating-databases/?lang=en)
290290

291291
## Web Service Client
292292

@@ -398,7 +398,7 @@ Because of these factors, it is possible for any endpoint to return a record
398398
where some or all of the attributes are unpopulated.
399399

400400
See the
401-
[GeoIP web service docs](https://dev.maxmind.com/geoip/docs/web-services?lang=en)
401+
[GeoIP web service docs](https://dev.maxmind.com/geoip/docs/web-services/?lang=en)
402402
for details on what data each endpoint may return.
403403

404404
The only piece of data which is always returned is the `ipAddress` attribute
@@ -422,7 +422,7 @@ GeoNames premium data set.
422422
## Reporting data problems
423423

424424
If the problem you find is that an IP address is incorrectly mapped, please
425-
[submit your correction to MaxMind](https://www.maxmind.com/en/correction).
425+
[submit your correction to MaxMind](https://www.maxmind.com/en/geoip-data-correction-request).
426426

427427
If you find some other sort of mistake, like an incorrect spelling, please
428428
check the [GeoNames site](https://www.geonames.org/) first. Once you've
@@ -433,15 +433,15 @@ automatically incorporated into future MaxMind releases.
433433

434434
If you are a paying MaxMind customer and you're not sure where to submit a
435435
correction, please
436-
[contact MaxMind support](https://www.maxmind.com/en/support) for help.
436+
[contact MaxMind support](https://support.maxmind.com/knowledge-base) for help.
437437

438438
## Other Support
439439

440440
Please report all issues with this code using the
441441
[GitHub issue tracker](https://github.com/maxmind/GeoIP2-php/issues).
442442

443443
If you are having an issue with a MaxMind service that is not specific to the
444-
client API, please see [our support page](https://www.maxmind.com/en/support).
444+
client API, please see [our support page](https://support.maxmind.com/knowledge-base).
445445

446446
## Requirements
447447

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{
1010
"name": "Gregory J. Oschwald",
1111
"email": "goschwald@maxmind.com",
12-
"homepage": "https://www.maxmind.com/"
12+
"homepage": "https://www.maxmind.com/en/home"
1313
}
1414
],
1515
"require": {

src/Model/City.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Model class for the data returned by City Plus web service and City
1414
* database.
1515
*
16-
* See https://dev.maxmind.com/geoip/docs/web-services?lang=en for more
16+
* See https://dev.maxmind.com/geoip/docs/web-services/?lang=en for more
1717
* details.
1818
*/
1919
class City extends Country

src/Model/Country.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
/**
1414
* Model class for the data returned by GeoIP Country web service and database.
1515
*
16-
* See https://dev.maxmind.com/geoip/docs/web-services?lang=en for more details.
16+
* See https://dev.maxmind.com/geoip/docs/web-services/?lang=en for more details.
1717
*/
1818
class Country implements \JsonSerializable
1919
{

src/Model/Enterprise.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* Model class for the data returned by GeoIP Enterprise database lookups.
99
*
10-
* See https://dev.maxmind.com/geoip/docs/web-services?lang=en for more
10+
* See https://dev.maxmind.com/geoip/docs/web-services/?lang=en for more
1111
* details.
1212
*/
1313
// phpcs:disable

src/Model/Insights.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* Model class for the data returned by GeoIP Insights web service.
1111
*
12-
* See https://dev.maxmind.com/geoip/docs/web-services?lang=en for
12+
* See https://dev.maxmind.com/geoip/docs/web-services/?lang=en for
1313
* more details.
1414
*/
1515
class Insights extends City

0 commit comments

Comments
 (0)