phcorp

phcorp

Corpus Hub contributor since 2026-10-11

phcorp's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

1corpus
1selected commit
6files
272lines

Totals count @phcorp's own selected commits. The repositories belong to their maintainers; their stars are not counted here.

What an agent can do with @phcorp's commit to phpantom_lsp

PHPantom-dev/phpantom_lsp: Fast PHP language server with deep type intelligence. Generics, frameworks, PHPStan annotations. Ready in an instant

Example questions
Paste it into your AI agent. It clones the repo at the pinned commit and indexes it on your machine.
Search the GitHub repository PHPantom-dev/phpantom_lsp with XERJ (https://hub.xerj.org/corpus/phpantom-dev--phpantom-lsp).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/PHPantom-dev/phpantom_lsp phpantom_lsp --filter=blob:none --no-checkout && git -C phpantom_lsp sparse-checkout set --no-cone /docs/ /src/diagnostics/undefined_variables/ /src/type_engine/types/narrowing/ /src/type_engine/variable/forward_walk/cond_narrowing/ /tests/integration/ && git -C phpantom_lsp checkout 40f6523af7ca1f5a1ca84716eaaa59f62cef76df
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./phpantom_lsp --url http://127.0.0.1:9200 --prefix phpantom-lsp --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.

corpus phpantom-dev--phpantom-lsp · API design and specification
Related corpora: avro, faah, zhoorta/ferrite, marcpope/cortendesk
Search an OpenAPI spec from an agent · Case study: reference coding for agents

Selected work

Commit to PHPantom-dev/phpantom_lsp

maintained by @PHPantom-dev
40f6523af7 Narrow property accesses by every type-check function (#471)
selected commit: 6 files · 272 lines · Rust · tests, src/type_engine, src/diagnostics

The corpus covers only the directories this commit changed (docs, src/diagnostics/undefined_variables, src/type_engine/types/narrowing, src/type_engine/variable/forward_walk/cond_narrowing, tests/integration). The repository is @PHPantom-dev's; this page credits @phcorp for this commit only.

live on the hub · licence clearedcorpus phpantom-dev--phpantom-lspAPIMITlsplsp-serverphplaravelneovim-pluginphpstorm-plugin agreed 2026-10-11
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/phcorp/badge.svg)](https://hub.xerj.org/contributors/phcorp)

Included with the author's permission (email, 2026-10-11), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.