{"id":21823895,"url":"https://github.com/tflori/phpunit-printer","last_synced_at":"2026-04-16T19:35:52.610Z","repository":{"id":57067440,"uuid":"469842307","full_name":"tflori/phpunit-printer","owner":"tflori","description":"Different printers for phpunit","archived":false,"fork":false,"pushed_at":"2022-03-18T10:03:37.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-02-27T16:58:57.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tflori.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-14T17:41:29.000Z","updated_at":"2022-03-14T17:42:16.000Z","dependencies_parsed_at":"2022-08-24T14:54:06.474Z","dependency_job_id":null,"html_url":"https://github.com/tflori/phpunit-printer","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tflori%2Fphpunit-printer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tflori%2Fphpunit-printer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tflori%2Fphpunit-printer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tflori%2Fphpunit-printer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tflori","download_url":"https://codeload.github.com/tflori/phpunit-printer/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244794894,"owners_count":20511516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-27T17:38:37.848Z","updated_at":"2025-10-30T02:46:06.983Z","avatar_url":"https://github.com/tflori.png","language":"PHP","readme":"# PhpUnitPrinter\n\nThis library holds different printers for phpunit.\n\nok ok - at the moment there is only one: `TextPrinter`\n\n# How to install\n\nUse composer:\n\n```console\n$ composer require tflori/phpunit-printer\n```\n\n\u003e note that there is no version defined - composer will automatically install the correct version for your\n\u003e php and phpunit version\n\n## Using different phpunit versions in CI\n\nYou are maybe developing a library. Then you should not commit the `composer.lock` and you are probably\nexecuting your unit tests on different php and phpunit versions. You will then need to modify your\n`composer.json` manually to use any matching version of phpunit and phpunit-printer:\n\n```json\n{\n  \"require\": {\n    \"phpunit/phpunit\": \"*\",\n    \"tflori/phpunit-printer\": \"*\"\n  }\n}\n```\n\n# How to use\n\nYou can now start using it by passing the printer to the phpunit configuration.\n\nVia commandline:\n```console\n$ phpunit --printer PhpUnitPrinter\\TextPrinter\n```\n\nVia configuration file:\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cphpunit bootstrap=\"vendor/autoload.php\"\n         printerClass=\"PhpUnitPrinter\\TextPrinter\"\u003e\n    \u003c!-- ... --\u003e\n\u003c/phpunit\u003e\n```\n\n## Available printer\n\n### TextPrinter\n\nThe text printer is a copy of a script I found long time ago on the net. I don't remember where I found\nit, and it didn't have annotations.\n\n\u003e If someone knows who has written that printer I would appreciate a hint to honor him in the author\n\u003e section.\n\nExample:  \n![Text Printer](screenshots/text-printer.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftflori%2Fphpunit-printer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftflori%2Fphpunit-printer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftflori%2Fphpunit-printer/lists"}