PHPackages                             phpbadge/phpbadge - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpbadge/phpbadge

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpbadge/phpbadge
=================

A PHP library to create badges.

2.0.1(7y ago)251.2k↓33.3%2[1 issues](https://github.com/phpbadge/phpbadge/issues)MITPHPPHP &gt;=7.1.0

Since Feb 15Pushed 7y ago3 watchersCompare

[ Source](https://github.com/phpbadge/phpbadge)[ Packagist](https://packagist.org/packages/phpbadge/phpbadge)[ RSS](/packages/phpbadge-phpbadge/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (4)Versions (7)Used By (0)

phpbadge
========

[](#phpbadge)

[![Build Status](https://camo.githubusercontent.com/f9774d0fa75b0d56442b4d75fa3bc07b0a4454636362a6c25d17751219c73cbe/68747470733a2f2f7472617669732d63692e6f72672f70687062616467652f70687062616467652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/phpbadge/phpbadge)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/52fbfe4be5414dc88f29f9095c11d16ab48a6d606cd0ccd55692fca36fd44628/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70687062616467652f70687062616467652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/phpbadge/phpbadge/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/e41e37da274490d9f57d296b1482328f826055cfe0c0221a24fa85d1cd6e0167/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70687062616467652f70687062616467652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/phpbadge/phpbadge/?branch=master)[![Dependency Status](https://camo.githubusercontent.com/eae361467f67cece35b1bbd82134174450c35c537d4648285f8006e0d0235340/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3535333934643430316432393839636237383030303031642f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/55394d401d2989cb7800001d)[![SensioLabsInsight](https://camo.githubusercontent.com/58cc85fc29998976b9252c22aba72904e0042cf799ebafcba6df9f863a18c5e7/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f31633631653732382d396238382d346538322d396439352d6639316463346364366239332f6d696e692e706e67)](https://insight.sensiolabs.com/projects/1c61e728-9b88-4e82-9d95-f91dc4cd6b93)

A PHP library to build badges as seen in README's of many open source libraries.

Getting started
---------------

[](#getting-started)

It's recommended to install this library via [Composer](https://getcomposer.org).

```
composer require phpbadge/phpbadge
```

The current master branch is considered stable. The badges on top of this document should confirm this.

Requirements
------------

[](#requirements)

As from version 2.0.0 this library needs a PHP version &gt;= 7.1.

Older version of the library run on PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6, PHP 7 and HHVM.

Example
-------

[](#example)

```
