badges / badges/poser

Feature Request: Add new style for social: `?style=social`

Open
#91 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
146
Forks
44
PR merge metrics
No merged PRs in 30d

Description

### Feature Request

| Q | A |
|---|---|
| New Feature | yes |
| RFC | yes |
| BC Break | unknown |

#### Summary

You currently have these styles, and they are very useful:

| style | demo |
| ----- | ---- |
| `flat` | ![](https://img.shields.io/static/v1?label=Profile+views&message=1234567890&color=007ec6&style=flat) |
| `flat-square` | ![](https://img.shields.io/static/v1?label=Profile+views&message=1234567890&color=007ec6&style=flat-square) |
| `plastic` | ![](https://img.shields.io/static/v1?label=Profile+views&message=1234567890&color=007ec6&style=plastic) |
| `for-the-badge` | ![](https://img.shields.io/static/v1?label=Profile+views&message=1234567890&color=007ec6&style=for-the-badge) |

However, [shields.io](https://shields.io) has one other style available: `social`. See more info [here](https://shields.io/#styles).

For example:

| style | demo|
|---|---|
| `flat` | ![](https://img.shields.io/github/followers/chrimaho?style=flat) |
| `flat-square` | ![](https://img.shields.io/github/followers/chrimaho?style=flat-square) |
| `plastic` | ![](https://img.shields.io/github/followers/chrimaho?style=plastic) |
| `for-the-badge` | ![](https://img.shields.io/github/followers/chrimaho?style=for-the-badge) |
| `social` | ![](https://img.shields.io/github/followers/chrimaho?style=social)

But when I try to use this for Profile Views: ![](https://komarev.com/ghpvc/?username=chrimaho&style=social)
`![](https://komarev.com/ghpvc/?username=chrimaho&style=social)`

Can you please also add this `?style=social` function to your repo?

Also related to [this issue](https://github.com/antonkomarev/github-profile-views-counter/issues/57#issuecomment-1367738277) on another repo.

Thank you!

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the existing flat, flat-square, plastic, and for-the-badge styles are handled in the PHP library. Add support for the requested social style and verify that the example badge URL renders with the expected appearance without breaking the existing styles.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.