Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codemap_php-0.4.10.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codemap_php-0.4.10-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file codemap_php-0.4.10.tar.gz.

File metadata

  • Download URL: codemap_php-0.4.10.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for codemap_php-0.4.10.tar.gz
Algorithm Hash digest
SHA256 c2a660508d7a44a108e8c9ecc498c18c18413d3309c8d674188ed15a2a6958c5
MD5 8abff640b828effd8461e1f8bfc8f3d1
BLAKE2b-256 060395c10f1f5e0ba93f04784ec28d775c9edeca2ade1622f1422deae68b29b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_php-0.4.10.tar.gz:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codemap_php-0.4.10-py3-none-any.whl.

File metadata

  • Download URL: codemap_php-0.4.10-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for codemap_php-0.4.10-py3-none-any.whl
Algorithm Hash digest
SHA256 2949c71d110a9558a959eec45b5a5681b40cfc229c91d84ef71696703a6a2abc
MD5 ce4ad757ae19bffeb74451c33935ded0
BLAKE2b-256 01cb97aab79c4f28fb3545572a402c56125fb73385fad39540bd51f775443920

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_php-0.4.10-py3-none-any.whl:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.4.10 This release

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.2

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page