GithubHelp home page GithubHelp logo

Composer package badge about badge-poser HOT 6 OPEN

pugx avatar pugx commented on July 20, 2024
Composer package badge

from badge-poser.

Comments (6)

liuggio avatar liuggio commented on July 20, 2024

good idea, the user wants to know how to install a repo
and wants to have both repo name and version name...

and what do you think about adding a badge containing also the command to install
like:

composer require phpunit/phpunit:v2.1.4

from badge-poser.

rdohms avatar rdohms commented on July 20, 2024

The idea is to easily pick out the name of the package in this repo.

so the black part of the button would say composer or package name and the colored part would print out the packagist name of the package in this repo.

Motivation:
Not everyone adds the composer require xxx\yyy install instructions, so to get the package name i usually click on the json and grab it from there, this would give me a faster way of seeing it.

from badge-poser.

agiuliano avatar agiuliano commented on July 20, 2024

👍

from badge-poser.

liuggio avatar liuggio commented on July 20, 2024

I think this could also not be a badge but an svg image that emulates the text of installing instruction in the readme,
the result would be something like:

composer install symfony/symfony v2.0

(this is a png github doesn't support svg in the comment)

from badge-poser.

wapmorgan avatar wapmorgan commented on July 20, 2024

I made this and it looks that: Composer
it's just a svg with variable width
landing page for this http://xn--e1adiijbgl.xn--p1acf/en.html

from badge-poser.

wapmorgan avatar wapmorgan commented on July 20, 2024

Also it supports different sizes:

  • badge
  • badge
  • badge

from badge-poser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.