{"id":15528627,"url":"https://github.com/mileschou/php-tools-action","last_synced_at":"2025-04-23T12:34:36.726Z","repository":{"id":52888195,"uuid":"222262711","full_name":"MilesChou/php-tools-action","owner":"MilesChou","description":"PHP tool integrate in GitHub Actions.","archived":false,"fork":false,"pushed_at":"2023-06-19T17:45:51.000Z","size":34,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T13:03:54.866Z","etag":null,"topics":["actions","php"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/MilesChou.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-17T14:42:42.000Z","updated_at":"2023-04-26T18:38:04.000Z","dependencies_parsed_at":"2025-03-05T15:41:35.236Z","dependency_job_id":null,"html_url":"https://github.com/MilesChou/php-tools-action","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":0.05555555555555558,"last_synced_commit":"cb65c7893aa98963bbd273504da57bc563dd5239"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":"actions/container-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MilesChou%2Fphp-tools-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MilesChou%2Fphp-tools-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MilesChou%2Fphp-tools-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MilesChou%2Fphp-tools-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MilesChou","download_url":"https://codeload.github.com/MilesChou/php-tools-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250435848,"owners_count":21430365,"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":["actions","php"],"created_at":"2024-10-02T11:14:30.661Z","updated_at":"2025-04-23T12:34:36.682Z","avatar_url":"https://github.com/MilesChou.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP tool action\n\n[![GitHub Release](https://img.shields.io/github/tag/MilesChou/php-tools-action.svg)](https://github.com/MilesChou/php-tools-action/releases)\n[![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)\n[![](https://github.com/MilesChou/php-tools-action/workflows/Testing/badge.svg)](https://github.com/MilesChou/php-tools-action/actions)\n\nPHP tool integrate in GitHub Actions.\n\n## Usage\n\nFollowing is some example.\n\n### `phpcs`\n\n\u003e See https://github.com/squizlabs/PHP_CodeSniffer\n\nRun with default config.\n\n```yaml\n- uses: MilesChou/php-tools-action/phpcs@master\n```\n\nWith another PHP version\n\n```yaml\n- uses: MilesChou/php-tools-action/5.5/phpcs@master\n```\n\nWith args\n\n```yaml\n- uses: MilesChou/php-tools-action/phpcs@master\n  with:\n    args: some.php\n```\n\n### `phpmd`\n\n\u003e See https://github.com/phpmd/phpmd\n\nRun with default config.\n\n```yaml\n- uses: MilesChou/php-tools-action/phpmd@master\n```\n\nWith another PHP version\n\n```yaml\n- uses: MilesChou/php-tools-action/5.6/phpmd@master\n```\n\nWith args\n\n```yaml\n- uses: MilesChou/php-tools-action/phpmd@master\n  with:\n    args: some.php\n```\n\n### `phpmetrics`\n\n\u003e See https://github.com/phpmetrics/PhpMetrics\n\nRun with default config.\n\n```yaml\n- uses: MilesChou/php-tools-action/phpmetrics@master\n```\n\nWith another PHP version\n\n```yaml\n- uses: MilesChou/php-tools-action/7.0/phpmetrics@master\n```\n\nWith args\n\n```yaml\n- uses: MilesChou/php-tools-action/phpmetrics@master\n  with:\n    args: some.php\n```\n\n### `phpstan`\n\n\u003e See https://github.com/phpstan/phpstan\n\nRun with default config.\n\n```yaml\n- uses: MilesChou/php-tools-action/phpstan@master\n```\n\nWith args\n\n```yaml\n- uses: MilesChou/php-tools-action/phpstan@master\n  with:\n    args: some.php\n```\n\n\u003e PHPStan require PHP ^7.1, so just support PHP 7.3.\n\n### `phpunit`\n\n\u003e See https://github.com/sebastianbergmann/phpunit\n\nRun with default config\n\n```yaml\n- uses: MilesChou/php-tools-action/phpunit@master\n```\n\nWith another PHP version\n\n```yaml\n- uses: MilesChou/php-tools-action/7.2/phpunit@master\n```\n\nWith args\n\n```yaml\n- uses: MilesChou/php-tools-action/phpunit@master\n  with:\n    args: --configuration my-phpunit.xml\n```\n\nWith PHPUnit version\n\n```yaml\n- uses: MilesChou/php-tools-action/phpunit@master\n  with:\n    phpunit_version: 7.5.0\n```\n\n## Credits\n\n* [MilesChou](https://github.com/MilesChou)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmileschou%2Fphp-tools-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmileschou%2Fphp-tools-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmileschou%2Fphp-tools-action/lists"}