Open fbatschi opened 9 years ago
+1 any news on this?
Unfortunately we are restricted to what github is capable of. That is, one is able to be redirected to the latest release by requesting https://github.com/mayflower/PHP_CodeBrowser/releases/latest but this url cannot be extended to fetch an attached binary. The phpunit pharchive is selfhosted and not distributed by github.
Currently there seems to be no version independent URL for the latest phar release. You have to go to "releases" and select the latest version and receive something like https://github.com/Mayflower/PHP_CodeBrowser/releases/download/1.1.1/phpcb-1.1.1.phar
Other tools like phpunit provide a unique URL which always points to the latest release, like https://phar.phpunit.de/phpunit.phar
This would give the possibility in certain scenarios (that do not use composer) to receive the latest phar release of PHP CodeBrowser.