private plugin reference #162
Replies: 4 comments 1 reply
-
Does this help https://getcomposer.org/doc/05-repositories.md#package-2? See also #129. |
Beta Was this translation helpful? Give feedback.
-
There's a composer plugin I've made that lets you include plugins/themes directly from Envato and WPMUDEV. Not perfect, but a step forward: https://github.com/MaeCompany/composer-wordpress |
Beta Was this translation helpful? Give feedback.
-
This solution will only work for people using Wordplate, which uses wPackagist. With Wordplate, you can use Wordplate auto-loader, and do the following: I am using a reference to my files as the repo, but you could equally swap this out for another repository type....
Then in the private plugin folder I have my composer.json:
|
Beta Was this translation helpful? Give feedback.
-
I know I'm late to the party, but SatisPress is what you are looking for: https://github.com/cedaro/satispress/. It exposes installed WordPress plugins and themes as Composer packages. |
Beta Was this translation helpful? Give feedback.
-
This may be more a composer question, but here it goes:
since some paid wp plugins are not listed on the wp site they are not mirrored on wpackagist. So for those plugins, how could I handle the installation for which i already have the code (downloaded on purchase) but want to make them privately available for my project under composer?
I've tried to add them to a private repo and reference them on composer as a "svc" repository, but not quite sure how to set the values for the composer.json file. This is what I'm trying:
On my package, i added a composer.json with the following:
on my main wp composer.json i added the following:
Would that be enough? Any help or hint pointing me to the right direction will be much appreciated!
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions