{"id":13594039,"url":"https://github.com/paul-thebaud/phpunit-generator","last_synced_at":"2026-01-10T02:18:02.699Z","repository":{"id":57036511,"uuid":"99136737","full_name":"paul-thebaud/phpunit-generator","owner":"paul-thebaud","description":"A PHPUnit 6 / 7 tests skeletons generator","archived":true,"fork":false,"pushed_at":"2020-04-22T11:38:39.000Z","size":540,"stargazers_count":42,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-13T04:44:48.052Z","etag":null,"topics":["generator","php","php7","phpunit","unit-test"],"latest_commit_sha":null,"homepage":"https://phpunitgen.io","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/paul-thebaud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-02T16:09:22.000Z","updated_at":"2023-01-28T01:23:31.000Z","dependencies_parsed_at":"2022-08-23T20:51:03.743Z","dependency_job_id":null,"html_url":"https://github.com/paul-thebaud/phpunit-generator","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/paul-thebaud/phpunit-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paul-thebaud%2Fphpunit-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paul-thebaud%2Fphpunit-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paul-thebaud%2Fphpunit-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paul-thebaud%2Fphpunit-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paul-thebaud","download_url":"https://codeload.github.com/paul-thebaud/phpunit-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paul-thebaud%2Fphpunit-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277171557,"owners_count":25773241,"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","status":"online","status_checked_at":"2025-09-27T02:00:08.978Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["generator","php","php7","phpunit","unit-test"],"created_at":"2024-08-01T16:01:27.925Z","updated_at":"2025-09-27T02:32:03.090Z","avatar_url":"https://github.com/paul-thebaud.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.github.com/paul-thebaud/phpunit-generator-assets/master/logos/logo.svg?sanitize=true\" width=\"200px\"\u003e\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1-8892BF.svg)](https://php.net/)\n[![Build Status][ico-travis]][link-travis]\n[![Coverage Status][ico-coveralls]][link-coveralls]\n[![Scrutinizer][ico-scrutinizer]][link-scrutinizer]\n[![Software License][ico-license]](LICENSE.md)\n[![Total Downloads][ico-downloads]][link-downloads]\n\n## :warning: Repository and package abandonned :warning:\n\n**This repository and the `paulthebaud/phpunit-generator` package are abandonned, in favor of the new version you can check out [here](https://phpunitgen.io). If you want to use as command line, use this package instead: [phpunitgen/console](https://github.com/paul-thebaud/phpunitgen-console).**\n\n---\n\n**Following remains for historical purpose.**\n\nPhpUnitGen is an open source development tool which will help you writing your unit tests for PHPUnit 6 / 7:\n\n* Generate unit skeleton for all PHP files including classes, traits, interfaces and global functions.\n* Automatically generate a few simple unit tests (like getter / setter methods tests, class instantiation).\n\nYou can try and use this package on a web application, at [phpunitgen.io](https://phpunitgen.io).\n\n__Version 2 of PhpUnitGen is now available, but be careful, it breaks the PhpUnitGen 1.x.x API.__\n\n![Image of PhpUnitGen rendering](https://raw.github.com/paul-thebaud/phpunit-generator-assets/master/logos/example.png)\n\n## Package structure\n\n```\nbuild/      ==\u003e Build results (code coverage ...) [only after running composer test].\nconfig/     ==\u003e Default PhpUnitGen configurations.\nexamples/   ==\u003e Examples about this package (configuration, parsing examples).\nsrc/        ==\u003e Package source files.\ntemplate/   ==\u003e Package template for generated tests skeletons.\ntests/      ==\u003e Package unit tests.\nvendor/     ==\u003e Composer dependencies [only after running composer install].\n```\n\n## Installation\n\n\nBest way to install this package is with composer dependency manager.\n\n```bash\n$ composer require --dev paulthebaud/phpunit-generator ^2.0\n```\n\n`--dev` option is used to install this package only in development environment.\n\n## Documentation\n\nPhpUnitGen documentation is available online on [doc.phpunitgen.io](https://doc.phpunitgen.io).\n\nIt give multiple information on PhpUnitGen:\n* [Installation of the package](https://doc.phpunitgen.io/en/installation.html).\n* [Usage of web application](https://doc.phpunitgen.io/en/website.html).\n* [Usage of command line](https://doc.phpunitgen.io/en/terminal.html).\n* [Usage of with PHP code](https://doc.phpunitgen.io/en/php.html).\n* [Usage of annotations](https://doc.phpunitgen.io/en/annotations.html).\n* [Communication around the PhpUnitGen project](https://doc.phpunitgen.io/en/about.html).\n\n## Running tests\n\n```bash\n$ composer test\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for more details.\n\n## Credits\n\n- [Paul Thébaud][link-author]\n- [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n[ico-version]: https://img.shields.io/packagist/v/paulthebaud/phpunit-generator.svg\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg\n[ico-travis]: https://img.shields.io/travis/paul-thebaud/phpunit-generator/master.svg\n[ico-coveralls]: https://img.shields.io/coveralls/paul-thebaud/phpunit-generator/master.svg\n[ico-scrutinizer]: https://scrutinizer-ci.com/g/paul-thebaud/phpunit-generator/badges/quality-score.png?b=master\n[ico-downloads]: https://img.shields.io/packagist/dt/paulthebaud/phpunit-generator.svg\n\n[link-packagist]: https://packagist.org/packages/paulthebaud/phpunit-generator\n[link-travis]: https://travis-ci.org/paul-thebaud/phpunit-generator\n[link-coveralls]: https://coveralls.io/github/paul-thebaud/phpunit-generator\n[link-scrutinizer]: https://scrutinizer-ci.com/g/paul-thebaud/phpunit-generator/\n[link-downloads]: https://packagist.org/packages/paulthebaud/phpunit-generator\n[link-author]: https://github.com/paul-thebaud\n[link-contributors]: ../../contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaul-thebaud%2Fphpunit-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaul-thebaud%2Fphpunit-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaul-thebaud%2Fphpunit-generator/lists"}