OpenAI PHP
A community-made PHP library for using OpenAI's AI services from PHP websites and apps.
- Your data
- Sent to an online service
- Coding needed
- Developers only
- Cost
- Free, but needs an AI account
- Computer
- An ordinary computer is fine
A community-made PHP library for using OpenAI's AI services from PHP websites and apps.
OpenAI PHP lets programmers who write in PHP, a common language for websites, connect to OpenAI's API (a doorway that lets programs use OpenAI's models).
It covers chat, audio, images, embeddings, files, fine-tuning, moderation and other OpenAI features, and also supports Azure's version of OpenAI. It is maintained by the community, not by OpenAI.
PHP developers adding OpenAI features to their websites or apps.
Developers only. It's a code library installed with PHP's package manager, and it needs an OpenAI API key. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?