{"id":13505173,"url":"https://github.com/phpmetrics/PhpMetrics","last_synced_at":"2025-03-29T23:31:11.000Z","repository":{"id":12497484,"uuid":"15167051","full_name":"phpmetrics/PhpMetrics","owner":"phpmetrics","description":"Beautiful and understandable static analysis tool for PHP","archived":false,"fork":false,"pushed_at":"2024-08-07T07:47:05.000Z","size":30133,"stargazers_count":2471,"open_issues_count":18,"forks_count":259,"subscribers_count":81,"default_branch":"master","last_synced_at":"2024-10-29T15:03:07.174Z","etag":null,"topics":["ci","metrics","php","quality","static-analyzer"],"latest_commit_sha":null,"homepage":"https://phpmetrics.github.io/website/","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/phpmetrics.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-12-13T15:31:43.000Z","updated_at":"2024-10-26T15:16:48.000Z","dependencies_parsed_at":"2023-01-14T12:18:36.393Z","dependency_job_id":"312ccae9-2f7f-430a-9d2f-0b44ce699549","html_url":"https://github.com/phpmetrics/PhpMetrics","commit_stats":{"total_commits":721,"total_committers":79,"mean_commits":9.126582278481013,"dds":0.6338418862690707,"last_synced_commit":"10f099e1dd0f45def6e511fd91809e0719f16f11"},"previous_names":[],"tags_count":62,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmetrics%2FPhpMetrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmetrics%2FPhpMetrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmetrics%2FPhpMetrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpmetrics%2FPhpMetrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpmetrics","download_url":"https://codeload.github.com/phpmetrics/PhpMetrics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245111951,"owners_count":20562512,"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":["ci","metrics","php","quality","static-analyzer"],"created_at":"2024-08-01T00:00:59.581Z","updated_at":"2025-03-29T23:31:10.023Z","avatar_url":"https://github.com/phpmetrics.png","language":"PHP","readme":"# PhpMetrics\n\n\n[![License](https://poser.pugx.org/phpmetrics/phpmetrics/license.svg)](https://packagist.org/packages/phpmetrics/phpmetrics)\n[![Latest Stable Version](https://poser.pugx.org/phpmetrics/phpmetrics/v/stable.svg)](https://packagist.org/packages/phpmetrics/phpmetrics)\n[![Slack](https://img.shields.io/badge/slack/phpmetrics-yellow.svg?logo=slack)](https://join.slack.com/t/phpmetrics/shared_invite/enQtODU3MjQ4ODAxOTM5LWRhOGFhODMxN2JmMDRmOGVjNGQ0ZjNjNzVlNDIwNzQ2MWQ2YzgxYmRlNmM5NzIzZjlhYTFjZjZhYzAyMjM0YmE)\n\n\n\n![Standard report](https://phpmetrics.github.io/website/assets/preview.png)\n\n\n\u003cimg src=\"https://phpmetrics.org/imagesmetrics-maintenability.png\" height=\"80px\" alt=\"PhpMetrics\" align=\"left\" style=\"margin-right:20px\"/\u003e\n\nPhpMetrics provides metrics about PHP project and classes, with beautiful and readable HTML report. \n\n[Documentation](https://phpmetrics.github.io/website/) | [Twitter](https://twitter.com/Halleck45) | [Contributing](https://github.com/phpmetrics/PhpMetrics/blob/master/doc/contributing.md)\n\n\u003cbr/\u003e\u003cbr/\u003e\n\n\n## Quick start\n\nFollow the [quick start guide](https://phpmetrics.github.io/website/getting-started/) to get started.\n```bash\n# install the package as a dev dependency\ncomposer require phpmetrics/phpmetrics --dev\n\n# run PHPMetrics to analyze a folder and generate a report\nphp ./vendor/bin/phpmetrics --report-html=myreport \u003cfolder-to-analyze\u003e\n```\n\nThen open the generated `./myreport/index.html` file in your browser. \n\n\u003e You can use a [configuration file](https://phpmetrics.github.io/website/configuration/) to customize \n\u003e the report, add options, configure rules for Continuous Integration, etc.\n\n## Metrics\n\nYou'll find detailed list of metrics in [documentation](https://phpmetrics.github.io/website/metrics/), or \nrunning `php ./vendor/bin/phpmetrics --metrics`\n\n## Author\n\n+ Jean-François Lépine \u003c[@Halleck45](https://twitter.com/Halleck45)\u003e\n\n## License\n\nSee the [LICENSE](LICENSE) file.\n\n## Contributing\n\nSee the [CONTRIBUTING](doc/contributing.md) file.\n","funding_links":[],"categories":["Standalone","PHP","目录","Table of Contents","代码分析 Code Analysis","类库"],"sub_categories":["Metrics","静态分析 Static Analysis","Static Analysis","代码检查/静态分析"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpmetrics%2FPhpMetrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpmetrics%2FPhpMetrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpmetrics%2FPhpMetrics/lists"}