wp-cli-bundle icon indicating copy to clipboard operation
wp-cli-bundle copied to clipboard

Distribute a single PHAR file as composer package

Open szepeviktor opened this issue 6 years ago • 7 comments

Currently the phar file update is manual.

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

szepeviktor avatar Aug 06 '19 19:08 szepeviktor

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

schlessera avatar Aug 12 '19 00:08 schlessera

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 avatar Aug 12 '19 07:08 szepeviktor

See https://github.com/phpstan/phpstan-shim

szepeviktor avatar Aug 12 '19 07:08 szepeviktor

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.

schlessera avatar Aug 12 '19 07:08 schlessera