aiaccess/ai-access
A flexible PHP library providing access to various AI models (Gemini, OpenAI, Anthropic, DeepSeek, Grok) via a consistent interface.
This is a PHP library for developers who build web applications and services that need to use AI. It helps integrate different AI models like OpenAI, Anthropic, Gemini, DeepSeek, and Grok into PHP applications using a single, consistent coding style. Developers can input user prompts or system instructions and receive AI-generated text outputs, managing conversation history easily.
Use this if you are a PHP developer building applications that need to interact with multiple AI model providers but want to write your code once using a unified interface.
Not ideal if you are not a PHP developer, or if you only need to use a single AI model provider and prefer to use their native SDK.
Stars
49
Forks
3
Language
PHP
License
—
Category
Last pushed
Dec 22, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/aiaccess/ai-access"
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
maltekuhr/laravel-gpt
LaravelGPT: Streamlined integration of OpenAI's ChatGPT (GPT-3.5, GPT-4) into Laravel...
moe-mizrak/laravel-openrouter
Laravel package for OpenRouter (A unified interface for LLMs)
kargnas/laravel-ai-translator
High quality automatic translate your language files into many languages using AI like Claude,...
tectalichq/public-openai-client-php
OpenAI API Client for PHP. Includes all endpoints and models (DTOs) for all requests and responses.