adachsoft/internet-search-contract

Interface for an API client for internet search.

Installs: 5

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

pkg:composer/adachsoft/internet-search-contract

v0.1.0 2026-02-13 19:01 UTC

This package is not auto-updated.

Last update: 2026-02-13 18:05:11 UTC


README

This library defines an interface for an API client responsible for performing internet search requests. It is intended to be used as a shared contract between applications and concrete HTTP clients.

Installation

composer require adachsoft/internet-search-contract

Usage

Implement the AdachSoft\\InternetSearchContract\\InternetSearchClientInterface in your application and inject your implementation wherever you need to perform internet search calls.

Domain-specific exceptions provided by this package:

  • AdachSoft\\InternetSearchContract\\InternetSearchException  base exception for search-related errors,
  • AdachSoft\\InternetSearchContract\\ResourceExhaustedException  indicates that the underlying service or resource limits were exhausted,
  • AdachSoft\\InternetSearchContract\\RetriableException  indicates that the operation can be safely retried later.

License

This library is released under the MIT License.