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

Add composer file or upload in WP repository? #6

Open
Levdbas opened this issue Apr 28, 2019 · 3 comments
Open

Add composer file or upload in WP repository? #6

Levdbas opened this issue Apr 28, 2019 · 3 comments

Comments

@Levdbas
Copy link

Levdbas commented Apr 28, 2019

Hi Bill,

I love the plugin and almost use it in every project. We all love automating things such as plugin installs. Many will use composer and wpackagist to include plugins in our projects. But then the plugin has to be in the main WP repository. Is that something you are planning on doing? Another option would be to add an composer file to this repository so we could use something like:

composer config repositories.repo-name vcs https://github.com/billerickson/BE-Media-from-Production composer require billerickson/BE-Media-from-Production:master

This is needed for compsoser to work because right now composer trows an error:

[Composer\Repository\InvalidRepositoryException] No valid composer.json was found in any branch or tag of https://github.com/billerickson/BE-Media-from-Production, could not load a package from it.

@billerickson
Copy link
Owner

Thanks for the recommendation.

I just submitted the plugin to WordPress.org, and will update this ticket once it is live.

@billerickson
Copy link
Owner

The plugin is now in the repo: https://wordpress.org/plugins/be-media-from-production/

@ethanclevenger91
Copy link
Contributor

@billerickson would still love to see a Composer file here. esp. considering no longer being listed on w.org.

@billerickson billerickson reopened this Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants