{"id":15600704,"url":"https://github.com/adrian7/candybar","last_synced_at":"2026-01-20T05:07:21.495Z","repository":{"id":56966928,"uuid":"126196042","full_name":"adrian7/candybar","owner":"adrian7","description":"🍬 Get the candies out of your phpunit tests results","archived":false,"fork":false,"pushed_at":"2018-10-31T21:01:40.000Z","size":103,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"release","last_synced_at":"2025-04-06T22:30:19.981Z","etag":null,"topics":["badges","code-coverage","code-coverage-html","phpunit","phpunit-themes","stylesheets"],"latest_commit_sha":null,"homepage":"http://adrian7.github.io/candybar/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adrian7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-21T14:59:53.000Z","updated_at":"2018-09-23T18:09:26.000Z","dependencies_parsed_at":"2022-08-21T09:50:36.216Z","dependency_job_id":null,"html_url":"https://github.com/adrian7/candybar","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/adrian7/candybar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrian7%2Fcandybar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrian7%2Fcandybar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrian7%2Fcandybar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrian7%2Fcandybar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrian7","download_url":"https://codeload.github.com/adrian7/candybar/tar.gz/refs/heads/release","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrian7%2Fcandybar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28596087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["badges","code-coverage","code-coverage-html","phpunit","phpunit-themes","stylesheets"],"created_at":"2024-10-03T02:05:39.346Z","updated_at":"2026-01-20T05:07:21.474Z","avatar_url":"https://github.com/adrian7.png","language":"PHP","readme":"# Candybar\n\n![release.svg](tests/logs/badges/release.svg) ![coverage.svg](tests/logs/badges/coverage.svg) ![builddate.svg](tests/logs/badges/builddate.svg) ![license.svg](tests/logs/badges/license.svg)\n\n*Get the candies from your PHPUnit's tests results*\n\n**(!) Warning: this project is under heavy development. \nExpect breaking changes with every new 0.x release.**\n\n**Check [the roadmap](https://github.com/adrian7/candybar/blob/dev/ROADMAP.md) \nfor upcoming features. Issues/pull requests are welcome.**\n\n### Installation\n\n```bash\n$ composer require devlib/candybar --dev \u0026\u0026 vendor/bin/candybar init\n``` \n\n### Running the bar\n\nAfter installing (init), a folder called `candybar` will show up in your project's root directory.  \nThere you'll find the config.php, styles and themes folders. \nThe `bar` section of the config file is used to add/remove commands supported by candybar and \nthe styles folder is used to lookup styles when running the `coverage:style` command.\n\n\nTo get a list of all available commands run:\n```bash\n$ vendor/bin/candybar list\n```\n\nTo get help for a specific command:\n```bash\n$ vendor/bin/candybar help [command]\n```\n\n\n### Available candies (commands)\n - `build:badge:date` generates build date badge with the current date/time\n - `coverage:style` applies a style to the html coverage presentation\n - `coverage:badge` generates badge from clover xml coverage stats\n - `license:badge` generates license badge, use arguments to set license and color \n - `readme:add-badges` adds badges to the readme file using \u003cbadge-name\u003e placeholders\n \n### Examples\n\n - `vendor/bin/candybar coverage:style default`\n - `vendor/bin/candybar coverage:badge badges/coverage.svg --style=plastic`\n - `vendor/bin/candybar license:badge badges/license.svg --style=plastic`\n - `vendor/bin/candybar readme:add-badges badges --template=README.tpl.md --output=README.md --backup` \n \n### Making your own commands  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrian7%2Fcandybar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrian7%2Fcandybar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrian7%2Fcandybar/lists"}