PHP AI Client


Project Details

Roadmap

TBD

Milestones

Repo

PHP AI Client (log bugs and enhancements to this GitHub repo)


Goal

The PHP AI Client SDK (GitHub) provides shared infrastructure that lets WordPress plugins and other PHP projects integrate AI capabilities rapidly and flexibly. Similar to projects like the Vercel AI SDK, it offers a unified interface that works across all AI providers – from simple text generation to complex multimodal operations, streaming responses, and long-running tasks.

Developers specify what AI capabilities they need, and users manage their provider credentials in one place. Those credentials then work automatically across all compatible plugins on their site.

The SDK addresses both user needs and developer needs:

  • A provider-agnostic approach puts the user first. The WordPress site administrator(s) choose which provider and/or model they want to configure and use, and they can provide API credentials in a single place. Any plugins with AI features just work. No more vendor lock-in.
  • Developers can focus on building AI features, not AI infrastructure. Instead of trying to find an unofficial SDK for a single provider or having to even build it yourself, the SDK gives developers the central infrastructure to get started quickly and focus on the user benefits rather than their own plugin’s technical plumbing. No more reinventing the wheel.

    – Announcement post