billerickson / BE-Media-from-Production

Uses local media when it's available, and uses the production server for rest.
GNU General Public License v3.0
213 stars 26 forks source link

Add composer file or upload in WP repository? #6

Open Levdbas opened 5 years ago

Levdbas commented 5 years ago

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 commented 5 years ago

Thanks for the recommendation.

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

billerickson commented 5 years ago

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

ethanclevenger91 commented 2 weeks ago

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