You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Distribute a single PHAR file as composer package聽#134
Activity
[-]Distribute as a PHAR file[/-][+]Distribute PHAR file as composer package[/+]schlessera commentedon Aug 12, 2019
I'm not sure I understand. Can you elaborate what you mean by that?
szepeviktor commentedon Aug 12, 2019
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 commentedon Aug 12, 2019
See https://github.com/phpstan/phpstan-shim
schlessera commentedon Aug 12, 2019
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.
[-]Distribute PHAR file as composer package[/-][+]Distribute a single PHAR file as composer package[/+]johnpbloch commentedon Jul 13, 2024
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 commentedon Jul 13, 2024
Never mind, I didn't look for the resulting repo before commenting 馃槄
I'm glad this is officially supported now!
szepeviktor commentedon Jul 13, 2024
https://github.com/wp-cli/wp-cli-shim seem not to be included in the release process.