Joel-James / disqus-conditional-load

Advanced plugin for Disqus WordPress
https://dclwp.com
GNU General Public License v2.0
23 stars 6 forks source link

Added composer.json (identifying Plugin as a "wordpress-plugin") #4

Closed tomgillett closed 8 years ago

tomgillett commented 8 years ago

Thanks for making such a useful plugin, @joel-james!

I like to build WordPress sites using Bedrock, requiring external dependencies (such as your own useful plugin!) via Composer. However, unless a plugin contains a composer.json file this can be tricky.

By adding a basic composer.json your plugin can now be loaded via Composer with relatively little effort and correctly identifies itself as a wordpress-plugin. Yay! You're in good company as several big plugins do this too, e.g. Jetpack and WordPress SEO.

I hope you're happy with this little enhancement... I don't think this will add too much of a maintenance burden as it shouldn't require anything more than a version bump when you tag each release.

Joel-James commented 8 years ago

Thanks @tomgillett. Thanks for the efforts.