benpickles / peity

Progressive <svg> pie, donut, bar and line charts

Home Page:http://benpickles.github.io/peity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding composer.json and submitting to packagist

chewett opened this issue · comments

Would you consider adding a composer.json file so that this library can be included in a composer based PHP project easily?

If wanted I can create the composer file and submit a pull request.

Currently there is a clone of the repo in packagist (https://packagist.org/packages/grimmlink/peity) but it would be best to include your repo rather than someones clone

Thanks

Sure, let's give it a try.

Good idea, you create the composer.json and we can integrate it together.

I have made a pull request in: #87

Once this is merged into the repo you will need to log into packagist (https://packagist.org/) with your github credentials (oauth I believe) and submit the repo for inclusion.

Once submission is done it will index your repo and make every tagged version containing the composer file available for easy inclusion. Therefore I recommend, once the composer file is merged in, to release another tagged minor version so that its immediately accessible via packagist.

Thanks
Chris

Great, I'll take a look.