PHPackages                             aigateway/ai-gateway - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. aigateway/ai-gateway

ActiveLibrary[API Development](/categories/api)

aigateway/ai-gateway
====================

PHP通用AI调用接口 - 对标Python OpenAI SDK风格，支持OpenAI/Claude/Gemini及所有兼容服务

v1.0.2(1w ago)04↓100%MITPHP &gt;=8.1

Since May 31Compare

[ Source](https://gitee.com/le3691325_admin/aigateway)[ Packagist](https://packagist.org/packages/aigateway/ai-gateway)[ Docs](https://gitee.com/le3691325_admin/aigateway)[ RSS](/packages/aigateway-ai-gateway/feed)WikiDiscussions Synced 1w ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://gitee.com/le3691325_admin/aigateway).

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance98

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

9d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c6a2d6a970b730dff10d497e6c09800f3c9a733cdb74ab367b5b0036f6c39fd?d=identicon)[q361196288](/maintainers/q361196288)

---

Tags

aiopenaiGeminiclaudellmanthropicChatGptgoogle-ai

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aigateway-ai-gateway/health.svg)

```
[![Health](https://phpackages.com/badges/aigateway-ai-gateway/health.svg)](https://phpackages.com/packages/aigateway-ai-gateway)
```

###  Alternatives

[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

317117.1k1](/packages/cognesy-instructor-php)[vizra/vizra-adk

Vizra Agent Development Kit - A comprehensive Laravel package for building intelligent AI agents.

29431.7k](/packages/vizra-vizra-adk)[claude-php/claude-php-sdk-laravel

Laravel integration for the Claude PHP SDK - Anthropic Claude API

5219.2k](/packages/claude-php-claude-php-sdk-laravel)[sbsaga/toon

🧠 TOON for Laravel — a compact, human-readable, and token-efficient data format for AI prompts &amp; LLM contexts. Perfect for ChatGPT, Gemini, Claude, Mistral, and OpenAI integrations (JSON ⇄ TOON).

6342.4k](/packages/sbsaga-toon)[mozex/anthropic-php

PHP client for the Anthropic API: messages, streaming, tool use, thinking, web search, code execution, batches, and more.

49480.9k16](/packages/mozex-anthropic-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
