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

Premium version not available via composer #410

Open
ivuorio opened this issue Feb 21, 2024 · 5 comments
Open

Premium version not available via composer #410

ivuorio opened this issue Feb 21, 2024 · 5 comments

Comments

@ivuorio
Copy link

ivuorio commented Feb 21, 2024

I am working for a customer whom would like to use the premium version of your plugin. The site is maintained via version control so manually installing plugins is not possible. There seems to be no way to install the premium via composer or am I missing something? Why is this?

@rlankhorst
Copy link
Collaborator

Hi @ivuorio,
As you probably know free is already available with composer. But the premium plugin is hosted on a private repo.
I don't see a way to publish this through composer that is connected to the easy digital downloads licensing system. But I'm no composer expert, so let me know if you have any suggestions.

@vtamm
Copy link

vtamm commented Feb 26, 2024

@rlankhorst a developer from Spatie has written a two-part blog series (link to part one) which explains how you can set up something like this with very little effort.

I'll second this request, not only because it would simplify the deployment of Complianz across the 20+ sites we maintain for our clients, but also because any serious PHP/WP agency should be using Composer for their clients' websites, and if you as a plugin author provide us as agencies with a way to install your plugin via Composer instead of us having to download it as a zip with every new relewase, we're going to pick your plugin over the competition every time.

It also signals to all other professional PHP devs that a) you know what you are doing since everyone should be using Composer in 2024 and b) that you care about making it easy for us to use your product.

@rlankhorst
Copy link
Collaborator

Interesting read! It doesn't look like it's something I can spin up in a morning, so I'll add it to the roadmap. We'll certainly implement this, but can't make any promises yet when that will be.

@rlankhorst
Copy link
Collaborator

rlankhorst commented Feb 28, 2024

Looking at the available solutions I also came across this one:https://github.com/lubusIN/composer-edd-plugin
It might be something that can be used until we have a satis environment set up. Or it might even make the satis solution superfluous. Let me know what you think.
https://lubus.in/blog/composer-edd-plugin-install-wordpress-pro-offerings-powered-by-edd-software-licensing-3863

@chimok
Copy link

chimok commented Mar 4, 2024

@rlankhorst I'll wait for that too :)
We're using Wordpress with Bedrock, a very popular wordpress composer based boilerplate with almost 10 millions users.

You may also check how Yoast doing it, Borlabs supports composer too. The best and correct way is have your own composer repro. That is the offizial way: https://getcomposer.org/doc/articles/handling-private-packages.md

But i installed already a lot of composer unsupported plugins with franz/installer https://github.com/ffraenz/private-composer-installer .....it downloads the passport protected zip in our git pipeline and create a build. Composer is really extremely flexible, it's able to handle almost any use case.

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

4 participants