php-dhcpdleases
PHP parser for ISC DHCP dhcpd.leases files. Reads the leases, then filters, sorts and de-duplicates them, returning an array or JSON
What XERJ indexed
Snapshot
The whole repository at commit 0be3e60e9f (2026-10-16). master is 9 commits ahead.
Selected work

“Replace old examples with examples/json.php and html.php”. 4 files, 281 lines in examples, the project root.
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-18. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
captivecaptive-portalcaptiveportaldhcpddhcpd-leaseshotspothotspot-wifihotspots
Example questions
- How does php-dhcpdleases implement captive?
- Where does php-dhcpdleases handle “Replace old examples with examples/json.php and html.php”?
- Show the captive-portal code in php-dhcpdleases.
Inside the indexed corpus
- 9 files, 28.4 KB in total, about 3.2 KB per file.
- The selected commit changed 4 of those files (44.4%).
- Languages by size: PHP 88.3%, Shell 6.9%, Makefile 4.7%.
- On GitHub since 2014-11-03, last push 2026-10-16, 45 commits on master.
- The pin is 9 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported LGPL-3.0 for jpereira/php-dhcpdleases on 2026-10-31, and the LICENSE file at commit 0be3e60e9f was reviewed as LGPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Jorge Pereira (@jpereira) has 1 selected repository on the hub.
Using XERJ with php-dhcpdleases
- Audit a PHP codebase with an index, not grep PHP is 88.3% of the code by size.
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
The prompt
Paste it into your AI agent. It clones jpereira/php-dhcpdleases at the pinned commit and indexes it on your machine.
Search the GitHub repository jpereira/php-dhcpdleases with XERJ (https://hub.xerj.org/corpus/jpereira--php-dhcpdleases). 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/jpereira/php-dhcpdleases php-dhcpdleases && git -C php-dhcpdleases checkout 0be3e60e9f81bc4c440d33b38f393c0a8b863aa8 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./php-dhcpdleases --url http://127.0.0.1:9200 --prefix php-dhcpdleases --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: LGPL-3.0. Read it for the approach only, do not copy code.
Related
Jorge PereiraAPI design and specification corporaxobotyi--cc-foundry-phpavroFlytachi/winter-kernelTrueArrowSoftware/TASLibPHPopenwisp/openwisp-radius
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.