PHP indexer plugin for CodeMap
Project description
codemap-php
A PHP indexer for CodeMap, shipped as an independent PyPI package.
What it captures
Backed by tree-sitter-php:
| AST node | Symbol kind |
|---|---|
class_declaration |
class (with extra.php_kind=class) |
interface_declaration |
class (with extra.php_kind=interface) |
trait_declaration |
class (with extra.php_kind=trait) |
enum_declaration |
class (with extra.php_kind=enum) |
method_declaration (inside type) |
method |
function_definition (top level) |
function |
property_declaration (inside type) |
field |
const_declaration (top level) |
variable |
const_declaration (inside type) |
field |
namespace_definition is captured as extra.namespace on every
symbol-producing type.
Install
pip install codemap-php
SymbolID encoding
scip-php . . . src/App/User.php/User#hello().
Limits
- Use statements aren't yet expanded into namespace-resolved edges.
- PHPDoc annotations are not parsed.
- Anonymous classes are skipped.
License
MIT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codemap_php-0.4.0.tar.gz.
File metadata
- Download URL: codemap_php-0.4.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad145fd91e7f48170d5c842cf746b17618019cd38450082ecbfe36641e679b88
|
|
| MD5 |
7e245620a377fa2fda7dd8eb56ced38c
|
|
| BLAKE2b-256 |
744e3f450f15d8676f67b6547980d678d0d9b69b1fd95796235af9011a42130f
|
Provenance
The following attestation bundles were made for codemap_php-0.4.0.tar.gz:
Publisher:
publish.yml on qxbyte/codemap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
codemap_php-0.4.0.tar.gz -
Subject digest:
ad145fd91e7f48170d5c842cf746b17618019cd38450082ecbfe36641e679b88 - Sigstore transparency entry: 1970005833
- Sigstore integration time:
-
Permalink:
qxbyte/codemap@3f4e32839eac4b6c466d871d78f569948b04ab78 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/qxbyte
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3f4e32839eac4b6c466d871d78f569948b04ab78 -
Trigger Event:
push
-
Statement type:
File details
Details for the file codemap_php-0.4.0-py3-none-any.whl.
File metadata
- Download URL: codemap_php-0.4.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87465ced33d4ad54aafb454b8cfbe6e7fade5b774aea3d4f562f314d0a29b6c6
|
|
| MD5 |
9b1e2e44b140cd270d9bae2c4b3c55ca
|
|
| BLAKE2b-256 |
f34d0c4703df1dec7ca87088a457ff3ff5fe43b5e408e62e79f493f25f84a699
|
Provenance
The following attestation bundles were made for codemap_php-0.4.0-py3-none-any.whl:
Publisher:
publish.yml on qxbyte/codemap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
codemap_php-0.4.0-py3-none-any.whl -
Subject digest:
87465ced33d4ad54aafb454b8cfbe6e7fade5b774aea3d4f562f314d0a29b6c6 - Sigstore transparency entry: 1970005961
- Sigstore integration time:
-
Permalink:
qxbyte/codemap@3f4e32839eac4b6c466d871d78f569948b04ab78 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/qxbyte
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3f4e32839eac4b6c466d871d78f569948b04ab78 -
Trigger Event:
push
-
Statement type: