tectalichq/public-openai-client-php
OpenAI API Client for PHP. Includes all endpoints and models (DTOs) for all requests and responses.
ArchivedProvides fully typed DTOs and IDE autocomplete for all OpenAI endpoints across chat completions, function calling, embeddings, image generation, audio transcription, and fine-tuning operations. Built on Guzzle HTTP client with a fluent Manager API pattern that chains request-to-response conversions through strongly-typed model objects. Designed for PHP applications requiring compile-time safety and discoverability over dynamic API interactions.
338 stars. No commits in the last 6 months.
Stars
338
Forks
66
Language
PHP
License
MIT
Category
Last pushed
Oct 23, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/tectalichq/public-openai-client-php"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
prism-php/prism
A unified interface for working with LLMs in Laravel
moe-mizrak/laravel-openrouter
Laravel package for OpenRouter (A unified interface for LLMs)
maltekuhr/laravel-gpt
LaravelGPT: Streamlined integration of OpenAI's ChatGPT (GPT-3.5, GPT-4) into Laravel...
kargnas/laravel-ai-translator
High quality automatic translate your language files into many languages using AI like Claude,...
theokafadaris/chatwire
Self hosted ChatGPT clone using Laravel