Used the existing PHP HTTP client stack for outbound search and extract requests with timeouts and result limits. Existing availability avoided new dependencies, and fake-based verification covered mapping and failure paths.
- What worked
- Already-present client kept the change PHP-only with no added service or language, and supported testable request construction.