YahnisElsts / plugin-update-checker

A custom update checker for WordPress plugins. Useful if you don't want to host your project in the official WP repository, but would still like it to support automatic updates. Despite the name, it also works with themes.
MIT License
2.22k stars 403 forks source link

How to get listed in "Used by" section? #490

Closed ddur closed 2 years ago

ddur commented 2 years ago

How to get my repository listed in "Used by" section of this repository? (see below "Packages")

Thanks

YahnisElsts commented 2 years ago

I'm actually not sure how that section works. It seems to be generated automatically. I think it might be based on composer.json? So you might need to list this package (yahnis-elsts/plugin-update-checker) as a dependency in your own composer.json, if you have one.

ddur commented 2 years ago

Thanks

ddur commented 2 years ago

My guess is to have sub-directory named after your repository (yahnis-elsts/plugin-update-checker). Maybe under /vendor/.

ddur commented 2 years ago

Yes, composer. Example

Looks like this is the another way: 7.11 Git Tools - Submodules

ddur commented 2 years ago

@YahnisElsts

GitHub shows dependencies using composer.json only, although composer is not used at all.

YahnisElsts commented 2 years ago

For what it's worth, Composer is used in this project. This update checker is also a valid Composer package.

ddur commented 2 years ago

I'm aware of that, thank you.