Search by

switon / search

switon

Open-web search, page fetch, and curated site lookup for Switon Framework

v1.0.0 2026-08-22 14:34 UTC

This package is auto-updated.

Last update: 2026-11-23 14:46:36 UTC


README

Search CI PHP 8.3+

Open-web lookup and curated per-site search for agents. Four tools: web_search, web_fetch, site_search, and site_list.

Highlights

  • Open web: web_search queries Baidu, Google, Bing, and Zhihu, then dedupes.
  • Page fetch: web_fetch returns readable text, or the raw body.
  • Curated sites: one site_search wire over a registry of site files.
  • Catalog: site_list returns id, label, and whether a site paginates.

Installation

composer require switon/search

Quick Start

The package registers the four tools. An agent profile lists the ids it may call:

tools:
  - web_search
  - web_fetch
  - site_search
  - site_list

Docs: https://github.com/switon-php/search/blob/main/docs/README.md

License

MIT.