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

Create a wp-cli-shim #145

Open
Rahe opened this issue Jun 10, 2020 · 2 comments · May be fixed by wp-cli/wp-cli-bundle#592
Open

Create a wp-cli-shim #145

Rahe opened this issue Jun 10, 2020 · 2 comments · May be fixed by wp-cli/wp-cli-bundle#592

Comments

@Rahe
Copy link

Rahe commented Jun 10, 2020

Describe your use case and the problem you are facing

Most of the time I need to centralize all the project dependencies into the composer.json file, wp-cli.phar executable too !
But this install lot's of PHP dependencies that can conflict with project dependencies.
I can add wpcli to the required but ultimately only use the phar.

Describe the solution you'd like

Make a repository like https://github.com/phpro/grumphp-shim that can be added composing only with the .phar and not installing all the dependencies and still defining them into the composer.json file.

@schlessera
Copy link
Member

I'm happy to add something like that, as dev dependencies have always been an issue. Not only do they cause conflicts, the autoloader also pollutes the real project with random code becoming active due to BC-logic in place.

@schlessera
Copy link
Member

Related: wp-cli/wp-cli-bundle#134

@swissspidy swissspidy linked a pull request Oct 27, 2023 that will close this issue
2 tasks
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.

2 participants