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 to packagist.org #3229

Open
Kilbourne opened this issue Dec 10, 2024 · 2 comments
Open

Add to packagist.org #3229

Kilbourne opened this issue Dec 10, 2024 · 2 comments

Comments

@Kilbourne
Copy link

The plugin is not anymore on wp.org and so who manages plugin with Composer can't use anymore wpackgist.org
Currently it can be used with composer as vcs:

	{
            "type": "vcs",
            "url": "https://github.com/strangerstudios/paid-memberships-pro"
        },

But this is very slow as it has to crawl all git tags at every update command

You already have a composer.json so the only thing remaining to do is:


Publish It

Log in or register on this site, then hit the submit button in the menu.

Once you entered your public repository URL in there, your package will be automatically crawled periodically. You just have to make sure you keep the composer.json file up to date.


@andrewlimaza
Copy link
Contributor

For now you may use the following steps to install Paid Memberships Pro via CLI:

  1. cd /path-to-site/
  2. wget https://www.paidmembershipspro.com/wp-content/uploads/plugins/paid-memberships-pro.zip
  3. wp plugin install paid-memberships-pro.zip

We are looking at implementing on packagist, I hope this helps.

@andrewlimaza
Copy link
Contributor

The curl equivalent to step 2 is:

curl -L -o paid-memberships-pro.zip https://www.paidmembershipspro.com/wp-content/uploads/plugins/paid-memberships-pro.zip

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

2 participants