typephp
Pure PHP Transparent Runtime Enforcement of PHPdoctype, with support for generics, type-arrays
What XERJ indexed
Snapshot
Only src/Internal, tests/Internal, tests/TypeChecking/ArraysAndShapes at commit ff56465248 (2026-10-04).
Selected work

“Refactor and enhance member assignment validation”. 12 files, 1,022 lines in src/Internal, tests.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-04. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
Example questions
- Where does typephp handle “Refactor and enhance member assignment validation”?
- What does src/Internal do in typephp?
Inside the indexed corpus
- 566 files, 2.3 MB in total, about 4.2 KB per file.
- The selected commit changed 12 of those files (2.1%).
- On GitHub since 2026-08-03, last push 2026-10-29, 299 commits on main.
Licence on GitHub and in the corpus
GitHub reported MIT for typephp-php/typephp on 2026-10-31, and the LICENSE file at commit ff56465248 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Reymart A. Calicdan (@rcalicdan) has 1 selected repository on the hub.
Their other repository pages: typephp-php/typephp.
Using XERJ with typephp
- Audit a PHP codebase with an index, not grep PHP is 100% of the code by size.
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
The prompt
Paste it into your AI agent. It clones typephp-php/typephp at the pinned commit and indexes it on your machine.
Search the GitHub repository typephp-php/typephp with XERJ (https://hub.xerj.org/corpus/typephp-php--typephp). 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/typephp-php/typephp typephp && git -C typephp checkout ff564652485bea97b9e37d6a08039df15de5df75 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./typephp --url http://127.0.0.1:9200 --prefix typephp --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.
Related
Reymart A. CalicdanAPI design and specification corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.