Badge for Composer

Do you want to add a badge to show composer name of your package?

How to add a badge of your package?

  • Copy address and append it with package name
    Copy that image address. The main image address is: http://composer.network/badge/[vendor]/[package]
  • Change size of a badge
    You can use little version http://composer.network/badge/wapmorgan/php-code-fixer/0 If you think that this is not enough, you can use badge with bigger size http://composer.network/badge/wapmorgan/php-code-fixer/2
  • Add .png extension
    If you want, you can safely add .png extension to a badge URL. Result will still be a svg image. http://composer.network/badge/wapmorgan/php-code-fixer.png

Badge on Github

Please enter a valid package name.
Please select a badge size.

Preview