PUGX / badge-poser

The PHP badges, renders some badges for your readme with the packagist information.
https://poser.pugx.org
MIT License
475 stars 93 forks source link

Add the possibility to click on the badge #73

Open agiuliano opened 11 years ago

agiuliano commented 11 years ago

As subject suggests, it'd was cool if the badge would be a link directed to the pugx's page. In this way an user interested to apply a badge for his project, could find an easy way to generate his own. In particular, the page linked by the bedges will point to a page (in pugx.io site) with all the statistics information we have about the project but as addiction it'll be a link create you own badge where the user can view the links for his designed project.

stof commented 11 years ago

currently, the markdown generated by Poser is a link to packagist.

liuggio commented 11 years ago

Mmm packagist is the best option imho, about stats yes we'd find a way to show them in a dedicated page.

agiuliano commented 11 years ago

Yes, but suppose you saw the badge on a package, and you like it. How can you add your own on your project? How can you know where you can find for adding it? For these reasons I think is better to add a link in which you can see the complete statistics of the bundle from where you come and the instructions for adding your own

liuggio commented 11 years ago

@agiuliano I agree with you I received few emails about that.

Maybe the best'd be adding a link into the packagist website.

@seldaek what do you think?

Seldaek commented 11 years ago

yeah we can add that somewhere the question is where, maybe a dedicated page for related services/sites.

agiuliano commented 11 years ago

@Seldaek if you want and if @liuggio also agree we can integrate poser directly in composer site. In this way, when you register a package on composer site, we can show the links for the different badges. What do you think?

Seldaek commented 11 years ago

I'd rather not have to maintain it so I'm happy to have it a separate service, but we can add a link to it where it makes sense on packagist. It's just not easy to add things without turning the whole stuff into a mess.

agiuliano commented 11 years ago

@Seldaek you're right, we can create a small section that appear while submitting the package on packagist, otherwise we can add a link on the package page when the owner is logged in showing the link to add the badge that point to poser web site

liuggio commented 11 years ago

I love symmetry, what do you think about:

before: before

after after

agiuliano commented 11 years ago

I'd love it, but if it'd be possible, I'd add the section also in the package view, because if you are the package owner probably you'll see more often that page rather than the "install page" :)

JellyBellyDev commented 4 years ago

Do you think it makes sense to keep still open this discussion?