PHPackages                             crowphp/badger - 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. [CLI &amp; Console](/categories/cli)
4. /
5. crowphp/badger

ActiveLibrary[CLI &amp; Console](/categories/cli)

crowphp/badger
==============

Command-line utility for generating badges for coverage

0.3(5y ago)11311MITPHP

Since Jan 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/crowphp/badger)[ Packagist](https://packagist.org/packages/crowphp/badger)[ Docs](https://crowphp.com)[ RSS](/packages/crowphp-badger/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (1)

badger
======

[](#badger)

Badger is a small CLI utility for generating a shields.io compatible JSON from clover.xml report and uploading it to a badger-server, see github.com/crowphp/badger-server to read more about the server.

Installing badger from composer
-------------------------------

[](#installing-badger-from-composer)

```
composer require --dev crowphp/badger:dev-master

```

Notice: At the moment the badger is under development use it with caution.

Usage
-----

[](#usage)

Help Document

```
$ php vendor/bin/badger --help
Console Tool

Usage:
  command [options] [arguments]

Options:
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  help             Displays help for a command
  list             Lists commands
 upload
  upload:coverage  Creates json for coverage badge shields.io and uploads it to a given badger server

```

Create badge schema on a badger server for a given branch

```
$ php upload:coverage

Description:
  Creates json for coverage badge shields.io and uploads it to a given badger server

Usage:
  upload:coverage

Arguments:
  server                URL for Badger Server
  branch                The branch name for the coverage
  secret-key            Secret api key for badger server

Options:
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Total

4

Last Release

1936d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/407d2d8822d73af86b3d3b1ee69adfa1671e409d62aa677f1629a31bc66657b8?d=identicon)[yousafsyed](/maintainers/yousafsyed)

---

Top Contributors

[![yousafsyed](https://avatars.githubusercontent.com/u/4663209?v=4)](https://github.com/yousafsyed "yousafsyed (14 commits)")[![yousafsyed-bg](https://avatars.githubusercontent.com/u/30670323?v=4)](https://github.com/yousafsyed-bg "yousafsyed-bg (1 commits)")

---

Tags

phpcliutilitycrowphpshields.io

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/crowphp-badger/health.svg)

```
[![Health](https://phpackages.com/badges/crowphp-badger/health.svg)](https://phpackages.com/packages/crowphp-badger)
```

###  Alternatives

[nunomaduro/termwind

It's like Tailwind CSS, but for the console.

2.5k239.8M286](/packages/nunomaduro-termwind)[alecrabbit/php-console-spinner

Extremely flexible spinner for \[async\] php cli applications

24032.0k2](/packages/alecrabbit-php-console-spinner)[mehrancodes/laravel-harbor

A CLI tool to Quickly create On-Demand preview environment for your apps.

9989.0k](/packages/mehrancodes-laravel-harbor)[mahocommerce/maho

Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

1322.1k12](/packages/mahocommerce-maho)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
