Skip to content

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

Merged
muglug merged 1 commit intovimeo:masterfrom
Nyholm:doc-phar
Feb 24, 2021
Merged

[Doc] Show how to install the phar by direct download#5274
muglug merged 1 commit intovimeo:masterfrom
Nyholm:doc-phar

Conversation

@Nyholm
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

muglug commented Feb 24, 2021

Thanks!

@Nyholm
Copy link
Copy Markdown
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