The PHP badges, renders some badges for your readme with the packagist information.
PHP HTML CSS JavaScript ApacheConf Python
Latest commit 9095ac2 Oct 13, 2016 @liuggio liuggio committed on GitHub Merge pull request #158 from raphaelstolt/addition-gitattributes-badge
Adds a .gitattributes badge
Permalink
Failed to load latest commit information.
app
bin cleaned not used var Apr 2, 2016
src Merge pull request #158 from raphaelstolt/addition-gitattributes-badge Oct 13, 2016
web
.gitignore
.travis.yml travis with memorylimit-1 May 31, 2016
Boxfile cleaned controller May 27, 2013
LICENSE
README.md
composer.json travis with memorylimit-1 May 31, 2016
composer.lock
composer.phar
phpunit.xml.dist refactoring, moved cache from config into the bundle May 21, 2014

README.md

Badge-Poser

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!

Click here to lend your support to: Badge Poser needs your help and make a donation at pledgie.com !

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