badge-poser

The PHP badges, renders some badges for your readme with the packagist information.

Github星跟蹤圖

Badge-Poser

NOTE: Development has stopped on version 2 (master branch).

Version 3 is under development and will be released soon. For new contributions, please use the version 3 release branch (release/v3.0.0).


Use shields for your packagist.org repository that shows how many times your project has been downloaded from packagist.org
or its latest stable version.

Latest Stable Version
Latest Unstable Version
Build Status
License
Downloads
composer.lock available

How to create your own Badge

  • Go to the Badge Poser website
  • Insert username/repository and click on Show
  • That's it! Copy the Markdown into the README.md

Why a composer badge?

Not only because all the other languages already have it, but having the latest stable release in the readme could save time.

Contribution

Active contribution and patches are very welcome.
See the github issues. There are some tagged as easy-pick.
To keep things in shape we have a bunch of unit tests. If you're submitting pull requests please
make sure that they are still passing and if you add functionality please
take a look at the coverage as well, it should be pretty high. :)

  • First, fork or clone the repository:
git clone git://github.com/PUGX/badge-poser.git
cd badge-poser
  • Install vendors:
php composer.phar self-update
php composer.phar install
  • Run phpunit:
./bin/phpunit
  • Production
  1. For Production purposes you need Redis.
  2. Update the contributors bin/extract_contributors.py > src/PUGX/BadgeBundle/Resources/views/Page/contributors.html.twig

Donation

Badge Poser serves billion of images per month. We really dream to move all of our code on Amazon AWS but is up to you.

If you use Badge Poser and you like it, please consider to donate. Thank you!

This project is HHVM approved :)

Try:

hhvm ./bin/phpunit

Extract contributors

In order to update the contributors section:

  1. install it running pip install pygithub3 && pip install Jinja2
  2. python bin/extract_contributors.py > src/PUGX/BadgeBundle/Resources/views/Page/contributors.html.twig

主要指標

概覽
名稱與所有者PUGX/badge-poser
主編程語言Twig
編程語言PHP (語言數: 9)
平台
許可證MIT License
所有者活动
創建於2013-05-24 13:43:57
推送於2025-01-06 14:24:41
最后一次提交2025-01-06 15:24:40
發布數29
最新版本名稱v3.9.2 (發布於 )
第一版名稱v1.0.0-RC1 (發布於 )
用户参与
星數476
關注者數21
派生數94
提交數1.2k
已啟用問題?
問題數155
打開的問題數13
拉請求數489
打開的拉請求數18
關閉的拉請求數596
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?