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

A new way for AI to search for data
View on GitHub
6GitHub stars
45commits on master
2forks
v2.0.1latest release, 2026-10-16

PHP 88.3%, Shell 6.9%, Makefile 4.7% · created 2014-11-03 · last push 2026-10-16

What XERJ indexed

Snapshot

9 files · 28.4 KB

The whole repository at commit 0be3e60e9f (2026-10-16). master is 9 commits ahead.

Selected work

Jorge Pereira
@jpereira

“Replace old examples with examples/json.php and html.php”. 4 files, 281 lines in examples, the project root.

Licence

The repository

LGPL-3.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Approach only

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

Inside the indexed corpus

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

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

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.