{"id":3470,"url":"https://github.com/shivammathur/setup-php","last_synced_at":"2026-05-22T00:20:15.595Z","repository":{"id":38421087,"uuid":"206578964","full_name":"shivammathur/setup-php","owner":"shivammathur","description":"GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.","archived":false,"fork":false,"pushed_at":"2025-09-15T07:38:57.000Z","size":27247,"stargazers_count":3098,"open_issues_count":2,"forks_count":388,"subscribers_count":28,"default_branch":"main","last_synced_at":"2025-09-15T09:32:21.233Z","etag":null,"topics":["code-coverage","composer","continuous-integration","github-actions","php","php-extensions","static-analysis","tools"],"latest_commit_sha":null,"homepage":"https://setup-php.com","language":"TypeScript","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/shivammathur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"shivammathur"}},"created_at":"2019-09-05T14:06:45.000Z","updated_at":"2025-09-15T07:39:01.000Z","dependencies_parsed_at":"2023-10-01T14:49:22.683Z","dependency_job_id":"b213111f-e7c7-4a18-ad34-2b4b3b5abb46","html_url":"https://github.com/shivammathur/setup-php","commit_stats":{"total_commits":1230,"total_committers":48,"mean_commits":25.625,"dds":"0.10162601626016265","last_synced_commit":"9f51892bda551c29f469a2b3d8514b6d2ed84dc9"},"previous_names":[],"tags_count":144,"template":false,"template_full_name":null,"purl":"pkg:github/shivammathur/setup-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivammathur%2Fsetup-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivammathur%2Fsetup-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivammathur%2Fsetup-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivammathur%2Fsetup-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivammathur","download_url":"https://codeload.github.com/shivammathur/setup-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivammathur%2Fsetup-php/sbom","scorecard":{"id":396557,"data":{"date":"2025-08-11","repo":{"name":"github.com/shivammathur/setup-php","commit":"20529878ed81ef8e78ddf08b480401e6101a850f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":7.3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/19 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 27 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: .github/SECURITY.md:1","Info: Found linked content: .github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: .github/SECURITY.md:1","Info: Found text in security policy: .github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":5,"reason":"badge detected: Passing","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:14","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:13","Info: found token with 'none' permissions: .github/workflows/docs.yml:13","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/docs.yml:98","Info: jobLevel 'contents' permission set to 'read': .github/workflows/publish.yml:17","Info: topLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:7","Info: topLevel 'contents' permission set to 'read': .github/workflows/docs.yml:7","Info: topLevel 'contents' permission set to 'read': .github/workflows/node.yml:20","Info: topLevel 'contents' permission set to 'read': .github/workflows/php.yml:21","Warn: no topLevel permission defined: .github/workflows/publish.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing shell code: invalid func name: .github/workflows/docs.yml:74","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/codeql.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/codeql.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/codeql.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/codeql.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docs.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/docs.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docs.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:91: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:104: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs.yml:108: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/docs.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/node.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/node.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/node.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/node.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/php.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/php.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/php.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/php.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/php.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/php.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/shivammathur/setup-php/publish.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/node.yml:43","Warn: npmCommand not pinned by hash: .github/workflows/publish.yml:38","Info:   0 out of  15 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish.yml:14"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T19:08:37.891Z","repository_id":38421087,"created_at":"2025-08-18T19:08:37.891Z","updated_at":"2025-08-18T19:08:37.891Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275615300,"owners_count":25496811,"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-17T02:00:09.119Z","response_time":84,"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":["code-coverage","composer","continuous-integration","github-actions","php","php-extensions","static-analysis","tools"],"created_at":"2024-01-11T16:46:59.620Z","updated_at":"2025-09-19T12:26:39.273Z","avatar_url":"https://github.com/shivammathur.png","language":"TypeScript","project_url":"https://opencollective.ecosyste.ms/api/v1/projects/3470","html_url":"https://opencollective.ecosyste.ms/projects/3470","collective":{"id":1640,"uuid":"k3z8arxv-eymko605-b48pgl5n-bj9w704d","slug":"setup-php","name":"Setup PHP","description":"Setup PHP with required extensions, php.ini configuration, code-coverage support and various tools like composer in GitHub Actions.","website":"https://setup-php.com/","github":"shivammathur/setup-php","twitter":"setup_php","repository_url":null,"social_links":[{"type":"WEBSITE","url":"https://setup-php.com/"},{"type":"TWITTER","url":"https://twitter.com/setup_php"},{"type":"GITHUB","url":"https://github.com/shivammathur/setup-php"}],"currency":"USD","projects_count":1,"last_synced_at":"2026-06-10T12:15:17.422Z","created_at":"2024-01-10T13:17:50.496Z","updated_at":"2026-06-10T12:15:17.562Z","transactions_count":7,"balance":298.1,"account_type":"COLLECTIVE","owner":{"login":"shivammathur","name":"Shivam Mathur","uuid":"1571086","kind":"user","description":"Creator of @setup-php","email":"contact@shivammathur.com","website":"https://shivammathur.com","location":"India","twitter":"meshivammathur","company":"@codementor","icon_url":"https://avatars.githubusercontent.com/u/1571086?u=d39828849d604d2ae46abb724343cdd16f8b7260\u0026v=4","repositories_count":113,"last_synced_at":"2025-10-17T18:31:24.668Z","metadata":{"has_sponsors_listing":true,"funding":{"github":"shivammathur"}},"html_url":"https://github.com/shivammathur","funding_links":["https://github.com/sponsors/shivammathur"],"total_stars":7115,"followers":1112,"following":22,"created_at":"2022-11-14T06:13:56.201Z","updated_at":"2025-10-17T18:31:24.669Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivammathur","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivammathur/repositories"},"last_project_activity_at":"2025-09-15T07:38:57.000Z","archived":false,"no_funding":false,"no_license":false,"host":"opensource","collective_created_at":"2020-09-05T13:16:29.442Z","collective_updated_at":"2026-05-18T21:57:55.270Z","html_url":"https://opencollective.com/setup-php","icon_url":"https://images.opencollective.com/setup-php/logo/40.png","total_donations":298.96000000000004,"total_expenses":-48.63000000000001,"current_balance":298.1,"api_url":"https://opencollective.ecosyste.ms/api/v1/collectives/setup-php","url":"https://opencollective.ecosyste.ms/collectives/setup-php","projects_url":"https://opencollective.ecosyste.ms/api/v1/collectives/setup-php/projects"}}