PSR-18
A common interface specification for HTTP clients established by PHP-FIG. It defines methods such as ClientInterface::sendRequest(), enabling application code to be programmed against an interface without binding to a specific implementation.
Timeline (last 90 days)
PSR-18 is a generic HTTP client interface specification set by PHP-FIG, defining methods such as ClientInterface::sendRequest().
When the caller does not explicitly pass an HTTP client, openai-php/client attempts to discover an available client via PSR-18 implementations.
When openai-php/client's factory finds Guzzle through the PSR-18 discovery mechanism, it sets no timeout by default.
All Facts (3)
PSR-18 is a generic HTTP client interface specification set by PHP-FIG, defining methods such as ClientInterface::sendRequest().
50%UnverifiedWhen the caller does not explicitly pass an HTTP client, openai-php/client attempts to discover an available client via PSR-18 implementations.
50%UnverifiedWhen openai-php/client's factory finds Guzzle through the PSR-18 discovery mechanism, it sets no timeout by default.
50%