decodelabs/prophet-openai

OpenAI Responses adapter for DecodeLabs Prophet

Maintainers

Package info

github.com/decodelabs/prophet-openai

pkg:composer/decodelabs/prophet-openai

Statistics

Installs: 266

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v0.4.0 2026-04-29 15:25 UTC

This package is auto-updated.

Last update: 2026-05-13 12:43:41 UTC


README

PHP from Packagist Latest Version Total Downloads GitHub Workflow Status PHPStan License

OpenAI Responses adapter for DecodeLabs Prophet

This package provides the OpenAI implementation of Prophet's stateless response contract.

Installation

This package requires PHP 8.4 or higher.

Install via Composer:

composer require decodelabs/prophet-openai

Usage

DecodeLabs\Prophet\Platform\OpenAi accepts a configured OpenAI PHP client and executes one Responses API request per Prophet call.

The adapter supports:

  • text output
  • JSON output
  • default model suggestion by language-model level
  • raw runtime model overrides through GenerationOptions

Package-local docs and specs live under docs/.

Licensing

Prophet OpenAI is licensed under the MIT License. See LICENSE for the full license text.