{"id":37012093,"url":"https://github.com/davidrjenni/scip-php","last_synced_at":"2026-01-14T01:02:59.575Z","repository":{"id":152264060,"uuid":"620693128","full_name":"davidrjenni/scip-php","owner":"davidrjenni","description":"SCIP Code Intelligence Protocol (SCIP) indexer for PHP","archived":false,"fork":false,"pushed_at":"2026-01-12T15:27:19.000Z","size":682,"stargazers_count":12,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-12T21:36:37.075Z","etag":null,"topics":["code-intel","php","scip"],"latest_commit_sha":null,"homepage":"","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/davidrjenni.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"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}},"created_at":"2023-03-29T07:28:55.000Z","updated_at":"2026-01-12T15:27:17.000Z","dependencies_parsed_at":"2023-09-29T19:51:11.787Z","dependency_job_id":"94650a9b-402f-468c-848e-5f9dcc2dd3bc","html_url":"https://github.com/davidrjenni/scip-php","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/davidrjenni/scip-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidrjenni%2Fscip-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidrjenni%2Fscip-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidrjenni%2Fscip-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidrjenni%2Fscip-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidrjenni","download_url":"https://codeload.github.com/davidrjenni/scip-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidrjenni%2Fscip-php/sbom","scorecard":{"id":873803,"data":{"date":"2025-08-23T14:31:45Z","repo":{"name":"github.com/davidrjenni/scip-php","commit":"6774561636c42d1436bb6602a716c4b1fdcba59d"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":5.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/1 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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yml:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#maintained"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":9,"reason":"dependency not pinned by hash detected -- score normalized to 9","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:121: update your workflow using https://app.stepsecurity.io/secureworkflow/davidrjenni/scip-php/ci.yml/main?enable=pin","Info:  10 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:  11 out of  12 third-party GitHubAction dependencies pinned","Info:   3 out of   3 containerImage 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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci.yml:139","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: topLevel permissions set to 'read-all': .github/workflows/scorecard.yml:10","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/ci.yml:130"],"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"Contributors","score":0,"reason":"project has 0 contributing companies or organizations -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}},{"name":"CI-Tests","score":8,"reason":"25 out of 29 merged PRs checked by a CI test -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}}]},"last_synced_at":"2025-08-24T05:10:59.302Z","repository_id":152264060,"created_at":"2025-08-24T05:10:59.311Z","updated_at":"2025-08-24T05:10:59.311Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28407639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-intel","php","scip"],"created_at":"2026-01-14T01:02:58.998Z","updated_at":"2026-01-14T01:02:59.539Z","avatar_url":"https://github.com/davidrjenni.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scip-php\n\n[![CI](https://github.com/davidrjenni/scip-php/actions/workflows/ci.yml/badge.svg)](https://github.com/davidrjenni/scip-php/actions/workflows/ci.yml)\n[![Coverage](https://codecov.io/gh/davidrjenni/scip-php/branch/main/graph/badge.svg?token=JYJNWGSDWL)](https://codecov.io/gh/davidrjenni/scip-php)\n[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/davidrjenni/scip-php/badge)](https://api.securityscorecards.dev/projects/github.com/davidrjenni/scip-php)\n[![License: MIT](https://img.shields.io/github/license/davidrjenni/scip-php)](https://github.com/davidrjenni/scip-php/blob/main/LICENSE)\n[![Packagist Version](https://img.shields.io/packagist/v/davidrjenni/scip-php)](https://packagist.org/packages/davidrjenni/scip-php)\n[![PHP Version](https://img.shields.io/packagist/php-v/davidrjenni/scip-php)](https://packagist.org/packages/davidrjenni/scip-php)\n[![Docker Image Version](https://img.shields.io/docker/v/davidrjenni/scip-php?label=docker)](https://hub.docker.com/r/davidrjenni/scip-php)\n[![Docker Image Size](https://img.shields.io/docker/image-size/davidrjenni/scip-php)](https://hub.docker.com/r/davidrjenni/scip-php)\n[![Contributors](https://img.shields.io/github/contributors/davidrjenni/scip-php.svg)](https://github.com/davidrjenni/scip-php/contributors)\n\nSCIP Code Intelligence Protocol (SCIP) indexer for PHP\n\n---\n\nThis repository is indexed using itself and available on\n[Sourcegraph](https://sourcegraph.com/github.com/davidrjenni/scip-php).\n\nAnd here is a Sourcegraph notebook with a\n[demo](https://sourcegraph.com/notebooks/Tm90ZWJvb2s6MjI2NQ==) and\nadditional explanations.\n\n## Requirements\n\n- `scip-php` must be run in the root directory of the project you want\n  to index.\n- It needs the `composer.json` and `composer.lock` files in the current\n  working directory.\n- Also, `scip-php` needs an up-to-date autoloader and the dependencies\n  must be installed in the vendor directory.\n\n## Usage\n\n### Manual\n\nInstall [`scip-php`](https://packagist.org/packages/davidrjenni/scip-php)\nwith `composer` and the\n[`src`](https://docs.sourcegraph.com/cli/quickstart) binary. Then generate\nthe SCIP index and upload it:\n\n```bash\ncomposer require --dev davidrjenni/scip-php\nvendor/bin/scip-php\nsrc code-intel upload\n```\n\n### Private Sourcegraph Instance\n\nTo use a private Sourcegraph instance, set the\n`SRC_ENDPOINT` and `SRC_ACCESS_TOKEN` [environment\nvariables](https://docs.sourcegraph.com/cli/explanations/env) first.\n\n## Contributing\n\nSee the [contributing guidelines](CONTRIBUTING.md).\n\n## Development\n\n- Run `composer lint` to run all linters.\n- Run `composer test` to run the unit tests.\n- Run `composer cover` to generate a coverage report.\n\n### Inspecting the Output\n\n- Install the `scip` cli from\n  [github.com/sourcegraph/scip](https://github.com/sourcegraph/scip).\n- Run `bin/scip-php` to generate the SCIP index.\n- Run `scip snapshot` to generate snapshot files which can be used for\n  inspecting the output of the index.\n- See the\n  [documentation](https://github.com/sourcegraph/scip/blob/main/docs/CLI.md)\n  for further functionality.\n\n### Bindings\n\nThe directory [`src/Bindings`](src/Bindings) contains auto-generated\nbindings for SCIP.  To update the bindings, download the protobuf schema\nfor SCIP and regenerate the bindings:\n\n```bash\nwget -O src/Bindings/scip.proto https://raw.githubusercontent.com/sourcegraph/scip/main/scip.proto\ncomposer gen-bindings\n```\n\nThe protobuf compiler `protoc` must be present to generate the bindings.\n\nSee [github.com/sourcegraph/scip](https://github.com/sourcegraph/scip)\nfor further information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidrjenni%2Fscip-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidrjenni%2Fscip-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidrjenni%2Fscip-php/lists"}