Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Show how to install the phar by direct download #5274

Merged
merged 1 commit into from
Feb 24, 2021

Conversation

Nyholm
Copy link
Contributor

@Nyholm Nyholm commented Feb 24, 2021

In my highly opinionated mind, the correct way to install a tool like Psalm is to download a binary. This would be obvious for any PHP developer if the tool (psalm) was written in GoLang or Ruby. Nobody would ever see a Ruby tool and think "I wish I can download this with composer".

Don't get me wrong, the psalm/phar package has its use cases, but it should not be the "standard way".

Using wget to download a phar is the recommended way of PHPUnit.

Since each release of psalm has the psalm.phar attached to it, we can use this special link. See Github docs.

@muglug
Copy link
Collaborator

muglug commented Feb 24, 2021

Thanks!

@Nyholm
Copy link
Contributor Author

Nyholm commented Feb 24, 2021

Thank you for merging.

@Nyholm Nyholm deleted the doc-phar branch January 15, 2024 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants