mayflower / PHP_CodeBrowser

Generates a browsable representation of PHP code where sections with violations found by quality assurance tools such as PHP_CodeSniffer or PHPMD are highlighted.
http://www.mayflower.de
BSD 3-Clause "New" or "Revised" License
135 stars 31 forks source link

Provide version independent URL to latest phar #43

Open fbatschi opened 9 years ago

fbatschi commented 9 years ago

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.

jdespatis commented 9 years ago

+1 any news on this?

calbrecht commented 6 years ago

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.