Tiger_Module_Registry

@api

Tiger_Module_Registry — the client for the open Vendor Registry (WebTigers/Vendors).

The registry is just a public git repo: one JSON file per module under /data, compiled by CI into a single index.json search index Tiger fetches + caches (a few times/day). No server, no DB — GitHub is the infrastructure. If the registry isn't reachable yet (the repo doesn't exist / offline), search returns empty and the admin falls back to Install-from-URL.

The index URL is config-overridable (tiger.modules.registry) so a fork can point Tiger at a different catalog — the whole thing is decentralized by design.

Methods

available()

available()

True if the registry index is reachable (fetch or fresh cache).

Returns bool — true if the index could be loaded

search($query)

Search the registry; [] when unavailable or no match. Matches name/slug/description/keywords.

  • $query string — the search term ('' returns all modules)

Returns array — the matching module entries

index()

index()

The (cached) registry index array, or null if unreachable.

Returns array|null — the decoded index, or null if unreachable

indexUrl()

indexUrl()

The registry index URL — the configured tiger.modules.registry, else DEFAULT_INDEX.

Returns string — the index URL