disqus-php
disqus-php copied to clipboard
Added support for composer
Composer is a dependency manager for PHP that is highly used among developers and their libraries. http://getcomposer.org/
This commit adds support for composer packaging for this library.
Please take notice that after accepting this pull request Disqus have to officially add the library in Packagist. https://packagist.org/packages/submit
Signed-off-by: Alex Rico [email protected]
+1 to see composer support in the library. Not having this support causes a lot of confusion as there are forks existing only to provide composer support and packages on packagist.org. Would be great if official library could provide that.
Not sure why Travis failed, but this simple addition of composer.json file should not have any affect to code itself.
Came to this issue finding a solution for Drupal 8 module that we're working on. Drupal 8 uses composer a lot. It will be the standard way of providing 3rd party libraries where needed. I'd really rather include official library than any of "provide composer support" forks.
@slashrsm Since this PR is almost a year old, would you just like to submit a new one? Not sure if OP will see and update. :)
Done: https://github.com/disqus/disqus-php/pull/23