PHPackages                             davidrjenni/scip-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. davidrjenni/scip-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

davidrjenni/scip-php
====================

SCIP Code Intelligence Protocol (SCIP) indexer for PHP

v0.0.2(3y ago)161.2k↓16.7%5[9 PRs](https://github.com/davidrjenni/scip-php/pulls)MITPHPPHP ^8.2CI passing

Since Apr 10Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/davidrjenni/scip-php)[ Packagist](https://packagist.org/packages/davidrjenni/scip-php)[ RSS](/packages/davidrjenni-scip-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (13)Versions (16)Used By (0)

scip-php
========

[](#scip-php)

[![CI](https://github.com/davidrjenni/scip-php/actions/workflows/ci.yml/badge.svg)](https://github.com/davidrjenni/scip-php/actions/workflows/ci.yml)[![Coverage](https://camo.githubusercontent.com/764dafb9a054a3e01f1d2f46e046c6a4d8b7849d374c8a3ebcb65077529f13d5/68747470733a2f2f636f6465636f762e696f2f67682f6461766964726a656e6e692f736369702d7068702f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d4a594a4e57475344574c)](https://codecov.io/gh/davidrjenni/scip-php)[![OpenSSF Scorecard](https://camo.githubusercontent.com/77f6b87114d65d56ec4f2a3f44a513a85b2cda3e884394753a3a3587bc9bf131/68747470733a2f2f6170692e736563757269747973636f726563617264732e6465762f70726f6a656374732f6769746875622e636f6d2f6461766964726a656e6e692f736369702d7068702f6261646765)](https://api.securityscorecards.dev/projects/github.com/davidrjenni/scip-php)[![License: MIT](https://camo.githubusercontent.com/95b33851af8448de2b896e169c3184b2cc4df405be6a522a0fcff4dcd86653ff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6461766964726a656e6e692f736369702d706870)](https://github.com/davidrjenni/scip-php/blob/main/LICENSE)[![Packagist Version](https://camo.githubusercontent.com/12fb6f5c921af181bd552f178986fa8548d74d14deefe2f6ca3a565d481a2c3f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6461766964726a656e6e692f736369702d706870)](https://packagist.org/packages/davidrjenni/scip-php)[![PHP Version](https://camo.githubusercontent.com/a256e3392230f5094a960ab253e9545cb58a5b7208ae648a3c89174f995b414d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6461766964726a656e6e692f736369702d706870)](https://packagist.org/packages/davidrjenni/scip-php)[![Docker Image Version](https://camo.githubusercontent.com/c3d4a15c16aadd664729802cffcf3c9272d77d713f0464873133e646ffd5bd23/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f762f6461766964726a656e6e692f736369702d7068703f6c6162656c3d646f636b6572)](https://hub.docker.com/r/davidrjenni/scip-php)[![Docker Image Size](https://camo.githubusercontent.com/da033ba93152c5b98021cafaebf070e3a0078e7f8baf18630bc2c99186f4ef0e/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f696d6167652d73697a652f6461766964726a656e6e692f736369702d706870)](https://hub.docker.com/r/davidrjenni/scip-php)[![Contributors](https://camo.githubusercontent.com/e7345c53e58e92bcd172701b6e15fbe2d2985794a633cecf89dc8ca9b6f2ca09/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f6461766964726a656e6e692f736369702d7068702e737667)](https://github.com/davidrjenni/scip-php/contributors)

SCIP Code Intelligence Protocol (SCIP) indexer for PHP

---

This repository is indexed using itself and available on [Sourcegraph](https://sourcegraph.com/github.com/davidrjenni/scip-php).

And here is a Sourcegraph notebook with a [demo](https://sourcegraph.com/notebooks/Tm90ZWJvb2s6MjI2NQ==) and additional explanations.

Requirements
------------

[](#requirements)

- `scip-php` must be run in the root directory of the project you want to index.
- It needs the `composer.json` and `composer.lock` files in the current working directory.
- Also, `scip-php` needs an up-to-date autoloader and the dependencies must be installed in the vendor directory.

Usage
-----

[](#usage)

### Manual

[](#manual)

Install [`scip-php`](https://packagist.org/packages/davidrjenni/scip-php)with `composer` and the [`src`](https://docs.sourcegraph.com/cli/quickstart) binary. Then generate the SCIP index and upload it:

```
composer require --dev davidrjenni/scip-php
vendor/bin/scip-php
src code-intel upload
```

### Private Sourcegraph Instance

[](#private-sourcegraph-instance)

To use a private Sourcegraph instance, set the `SRC_ENDPOINT` and `SRC_ACCESS_TOKEN` [environment variables](https://docs.sourcegraph.com/cli/explanations/env) first.

Contributing
------------

[](#contributing)

See the [contributing guidelines](CONTRIBUTING.md).

Development
-----------

[](#development)

- Run `composer lint` to run all linters.
- Run `composer test` to run the unit tests.
- Run `composer cover` to generate a coverage report.

### Inspecting the Output

[](#inspecting-the-output)

- Install the `scip` cli from [github.com/sourcegraph/scip](https://github.com/sourcegraph/scip).
- Run `bin/scip-php` to generate the SCIP index.
- Run `scip snapshot` to generate snapshot files which can be used for inspecting the output of the index.
- See the [documentation](https://github.com/sourcegraph/scip/blob/main/docs/CLI.md)for further functionality.

### Bindings

[](#bindings)

The directory [`src/Bindings`](src/Bindings) contains auto-generated bindings for SCIP. To update the bindings, download the protobuf schema for SCIP and regenerate the bindings:

```
wget -O src/Bindings/scip.proto https://raw.githubusercontent.com/sourcegraph/scip/main/scip.proto
composer gen-bindings
```

The protobuf compiler `protoc` must be present to generate the bindings.

See [github.com/sourcegraph/scip](https://github.com/sourcegraph/scip)for further information.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance57

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Total

2

Last Release

1113d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab135bb738119f0730388f5c7ff8b8ae3c0097ae2c4ac7d7ae9f256dfd79079e?d=identicon)[davidrjenni](/maintainers/davidrjenni)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (675 commits)")[![davidrjenni](https://avatars.githubusercontent.com/u/10241572?v=4)](https://github.com/davidrjenni "davidrjenni (202 commits)")[![pieded](https://avatars.githubusercontent.com/u/915842?v=4)](https://github.com/pieded "pieded (1 commits)")

---

Tags

code-intelphpscipcodeintelscip

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/davidrjenni-scip-php/health.svg)

```
[![Health](https://phpackages.com/badges/davidrjenni-scip-php/health.svg)](https://phpackages.com/packages/davidrjenni-scip-php)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M567](/packages/symfony-maker-bundle)[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4723.6M20](/packages/coenjacobs-mozart)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M157](/packages/orchestra-canvas)[phpdocumentor/reflection

Reflection library to do Static Analysis for PHP Projects

12521.4M109](/packages/phpdocumentor-reflection)[brianhenryie/strauss

Prefixes dependencies namespaces so they are unique to your plugin

183340.9k20](/packages/brianhenryie-strauss)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
