PharHub closing down

PharHub will be closed down in early 2023. TBH I have no idea how any of the few users have found out about it :)

If you wish to continue installing PHARs this way, you can add them manually to your composer.json. Here is an example for PHPUnit:

{
    // ....
    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "x-custom-phar/phpunit",
                "version": "9.5.24.0",
                "dist": {
                    "type": "file",
                    "url": "https://phar.phpunit.de/phpunit-9.5.24.phar"
                },
                "replace": {
                    "phpunit/phpunit": "self.version"
                },
                "bin": [
                    "phpunit-9.5.24.phar"
                ],
                "type": "library"
            }
        }
    ],
    "require": {
        "x-custom-phar/phpunit": "*"
    }
}