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

Distribute a single PHAR file as composer package #134

Open
szepeviktor opened this issue Aug 6, 2019 · 7 comments · May be fixed by #592
Open

Distribute a single PHAR file as composer package #134

szepeviktor opened this issue Aug 6, 2019 · 7 comments · May be fixed by #592

Comments

@szepeviktor
Copy link
Contributor

Currently the phar file update is manual.

Could we create a Composer package that contains only the phar file?

@szepeviktor szepeviktor changed the title Distribute as a PHAR file Distribute PHAR file as composer package Aug 6, 2019
@schlessera
Copy link
Member

I'm not sure I understand. Can you elaborate what you mean by that?

@szepeviktor
Copy link
Contributor Author

There could be a composer package named wp-cli/wp-cli-phar which would contain only 1 phar file. This way we could prevent dependency conflicts.

@szepeviktor
Copy link
Contributor Author

@schlessera
Copy link
Member

Sounds like a good idea. Are you into providing a PR for that? If so, let me know and I'll create the corresponding repository.

@szepeviktor szepeviktor changed the title Distribute PHAR file as composer package Distribute a single PHAR file as composer package Aug 12, 2019
@swissspidy swissspidy linked a pull request Oct 27, 2023 that will close this issue
2 tasks
@johnpbloch
Copy link

I found this to be a necessary package, so I made one and released it here: https://github.com/johnpbloch/wp-cli-phar

If any of that would be useful for this effort, the code's MIT and free for the taking.

@johnpbloch
Copy link

Never mind, I didn't look for the resulting repo before commenting 😅

I'm glad this is officially supported now!

@szepeviktor
Copy link
Contributor Author

https://github.com/wp-cli/wp-cli-shim seem not to be included in the release process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants