{"id":20500306,"url":"https://github.com/archtaqi/php-metrics","last_synced_at":"2025-08-01T10:35:25.399Z","repository":{"id":88473457,"uuid":"170847344","full_name":"ArchTaqi/php-metrics","owner":"ArchTaqi","description":"PhpMetrics Static analyzer tool for PHP Customize, Installed using Ansible","archived":false,"fork":false,"pushed_at":"2019-02-15T13:22:38.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T06:58:24.133Z","etag":null,"topics":["ansible","jenkins","php","phpcs","phpmd","phpstan","static-code-analysis"],"latest_commit_sha":null,"homepage":null,"language":null,"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/ArchTaqi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-15T10:31:53.000Z","updated_at":"2020-08-14T06:18:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa96fa44-9dc9-428f-a4e8-eeba9500bf5e","html_url":"https://github.com/ArchTaqi/php-metrics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArchTaqi%2Fphp-metrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArchTaqi%2Fphp-metrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArchTaqi%2Fphp-metrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArchTaqi%2Fphp-metrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArchTaqi","download_url":"https://codeload.github.com/ArchTaqi/php-metrics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242090906,"owners_count":20070251,"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":["ansible","jenkins","php","phpcs","phpmd","phpstan","static-code-analysis"],"created_at":"2024-11-15T18:20:28.371Z","updated_at":"2025-03-05T19:29:36.940Z","avatar_url":"https://github.com/ArchTaqi.png","language":null,"readme":"PHP Metrics\n===========\n\nInstall php analysers like phpmd, phpcs, phpstan, phplint, phpcpd, ext.\n\n### Setup in Your Project\n\n```bash\nmkdir -p etc/ansible/common \u0026\u0026 mkdir -p etc/ansible/requirements\n\ncat \u003e etc/ansible/requirements.yml \u003c\u003c EOF\n- name: common-php-metrics\n  src: https://github.com/muhammadtaqi/php-metrics.git\n  scm: git\nEOF\n\ncat \u003e etc/ansible/metrics.yml \u003c\u003c EOF\n---\n- hosts: localhost\n  connection: local\n\n  roles:\n    - { role: common-php-metrics }\nEOF\n\ncat \u003e etc/ansible.cfg \u003c\u003c EOF\n[defaults]\nroles_path=ansible/common\nEOF\n```\n\n## Run ansible playbook\n\n```bash\ncd ./etc/\nansible-galaxy install -r ansible/requirements.yml -p ansible/common --force\nansible-playbook  ansible/metrics.yml --limit=localhost --flush-cache\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchtaqi%2Fphp-metrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchtaqi%2Fphp-metrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchtaqi%2Fphp-metrics/lists"}