1tomany/php-ai

A single, unified, framework-independent library for integration with many popular AI platforms and large language models

Installs: 7

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 2

pkg:composer/1tomany/php-ai

v0.0.5 2026-02-06 20:47 UTC

This package is auto-updated.

Last update: 2026-02-06 20:50:10 UTC


README

This library provides a single, unified, framework-independent library for integration with many popular AI platforms and large language models.

Supported platforms

  • Gemini
  • Mock
  • OpenAI

Platform feature support

Note: Each platform refers to running model inference differently; OpenAI uses the word "Responses" while Gemini uses the word "Content". I've decided the word "Query" is the most succinct term to describe interacting with an LLM. The "Queries" section below refers to the ability to compile and execute a query against a large language model.

Feature Gemini Mock OpenAI
Batches
Create
Read
Cancel
Files
Upload
Read
List
Download
Delete
Queries
Compile
Execute

Credits

License

The MIT License