Skip to content

Distribute a single PHAR file as composer package #134

Description

@szepeviktor

Currently the phar file update is manual.

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

Activity

  1. changed the title [-]Distribute as a PHAR file[/-] [+]Distribute PHAR file as composer package[/+] on Aug 6, 2019
  2. schlessera commented on Aug 12, 2019

    @schlessera
    Member

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

  3. szepeviktor commented on Aug 12, 2019

    @szepeviktor
    ContributorAuthor

    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.

  4. szepeviktor commented on Aug 12, 2019

    @szepeviktor
    ContributorAuthor
  5. schlessera commented on Aug 12, 2019

    @schlessera
    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.

  6. changed the title [-]Distribute PHAR file as composer package[/-] [+]Distribute a single PHAR file as composer package[/+] on Aug 12, 2019
  7. johnpbloch commented on Jul 13, 2024

    @johnpbloch

    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.

  8. johnpbloch commented on Jul 13, 2024

    @johnpbloch

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

    I'm glad this is officially supported now!

  9. szepeviktor commented on Jul 13, 2024

    @szepeviktor
    ContributorAuthor

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

  10. marked Create a wp-cli-shim ideas#145 as a duplicate of this issue on Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions