PHPackages                             symfony/ai-platform - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. symfony/ai-platform

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

symfony/ai-platform
===================

PHP library for interacting with AI platform provider.

v0.6.0(2mo ago)51927.7k—2.4%1220MITPHPPHP &gt;=8.2

Since Dec 23Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/symfony/ai-platform)[ Packagist](https://packagist.org/packages/symfony/ai-platform)[ Fund](https://symfony.com/sponsor)[ GitHub Sponsors](https://github.com/fabpot)[ RSS](/packages/symfony-ai-platform/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (48)Versions (7)Used By (20)

Symfony AI - Platform Component
===============================

[](#symfony-ai---platform-component)

The Platform component provides an abstraction for interacting with different models, their providers and contracts.

**This Component is experimental**. [Experimental features](https://symfony.com/doc/current/contributing/code/experimental.html)are not covered by Symfony's [Backward Compatibility Promise](https://symfony.com/doc/current/contributing/code/bc.html).

Installation
------------

[](#installation)

```
composer require symfony/ai-platform
```

Platform Bridges
----------------

[](#platform-bridges)

To use a specific AI platform, install the corresponding bridge package:

PlatformPackageAI.ML API`symfony/ai-ai-ml-api-platform`Albert`symfony/ai-albert-platform`amazee.ai`symfony/ai-amazee-ai-platform`Anthropic`symfony/ai-anthropic-platform`Azure OpenAI`symfony/ai-azure-platform`AWS Bedrock`symfony/ai-bedrock-platform`Cache`symfony/ai-cache-platform`Cartesia`symfony/ai-cartesia-platform`Cerebras`symfony/ai-cerebras-platform`Claude Code`symfony/ai-claude-code-platform`Decart`symfony/ai-decart-platform`DeepSeek`symfony/ai-deep-seek-platform`Docker Model Runner`symfony/ai-docker-model-runner-platform`ElevenLabs`symfony/ai-eleven-labs-platform`Failover`symfony/ai-failover-platform`Generic`symfony/ai-generic-platform`Google Gemini`symfony/ai-gemini-platform`Hugging Face`symfony/ai-hugging-face-platform`LM Studio`symfony/ai-lm-studio-platform`Meta Llama`symfony/ai-meta-platform`Mistral`symfony/ai-mistral-platform`Models.dev`symfony/ai-models-dev-platform`Ollama`symfony/ai-ollama-platform`OpenAI`symfony/ai-open-ai-platform`Open Responses`symfony/ai-open-responses-platform`OpenRouter`symfony/ai-open-router-platform`OVH`symfony/ai-ovh-platform`Perplexity`symfony/ai-perplexity-platform`Replicate`symfony/ai-replicate-platform`Scaleway`symfony/ai-scaleway-platform`TransformersPHP`symfony/ai-transformers-php-platform`Google Vertex AI`symfony/ai-vertex-ai-platform`Voyage`symfony/ai-voyage-platform`**This repository is a READ-ONLY sub-tree split**. See  to create issues or submit pull requests.

Resources
---------

[](#resources)

- [Documentation](https://symfony.com/doc/current/ai/components/platform.html)
- [Report issues](https://github.com/symfony/ai/issues) and [send Pull Requests](https://github.com/symfony/ai/pulls)in the [main Symfony AI repository](https://github.com/symfony/ai)

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance87

Actively maintained with recent releases

Popularity54

Moderate usage in the ecosystem

Community43

Growing community involvement

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~14 days

Total

6

Last Release

75d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47313?v=4)[Fabien Potencier](/maintainers/fabpot)[@fabpot](https://github.com/fabpot)

---

Top Contributors

[![OskarStark](https://avatars.githubusercontent.com/u/995707?v=4)](https://github.com/OskarStark "OskarStark (138 commits)")[![chr-hertel](https://avatars.githubusercontent.com/u/2852185?v=4)](https://github.com/chr-hertel "chr-hertel (109 commits)")[![Guikingone](https://avatars.githubusercontent.com/u/13744329?v=4)](https://github.com/Guikingone "Guikingone (19 commits)")[![valtzu](https://avatars.githubusercontent.com/u/652734?v=4)](https://github.com/valtzu "valtzu (13 commits)")[![VincentLanglet](https://avatars.githubusercontent.com/u/9052536?v=4)](https://github.com/VincentLanglet "VincentLanglet (9 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (9 commits)")[![lochmueller](https://avatars.githubusercontent.com/u/3907126?v=4)](https://github.com/lochmueller "lochmueller (5 commits)")[![welcoMattic](https://avatars.githubusercontent.com/u/773875?v=4)](https://github.com/welcoMattic "welcoMattic (5 commits)")[![wachterjohannes](https://avatars.githubusercontent.com/u/1464615?v=4)](https://github.com/wachterjohannes "wachterjohannes (4 commits)")[![RamyHakam](https://avatars.githubusercontent.com/u/17661342?v=4)](https://github.com/RamyHakam "RamyHakam (3 commits)")[![lyrixx](https://avatars.githubusercontent.com/u/408368?v=4)](https://github.com/lyrixx "lyrixx (3 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (2 commits)")[![bigdevlarry](https://avatars.githubusercontent.com/u/29729601?v=4)](https://github.com/bigdevlarry "bigdevlarry (2 commits)")[![DZunke](https://avatars.githubusercontent.com/u/1244235?v=4)](https://github.com/DZunke "DZunke (2 commits)")[![gundesli](https://avatars.githubusercontent.com/u/7751055?v=4)](https://github.com/gundesli "gundesli (2 commits)")[![HaKIMus](https://avatars.githubusercontent.com/u/12177027?v=4)](https://github.com/HaKIMus "HaKIMus (2 commits)")[![leonexcc](https://avatars.githubusercontent.com/u/7428636?v=4)](https://github.com/leonexcc "leonexcc (2 commits)")[![natewiebe13](https://avatars.githubusercontent.com/u/759228?v=4)](https://github.com/natewiebe13 "natewiebe13 (2 commits)")[![paulinevos](https://avatars.githubusercontent.com/u/5345273?v=4)](https://github.com/paulinevos "paulinevos (2 commits)")[![pentiminax](https://avatars.githubusercontent.com/u/4866668?v=4)](https://github.com/pentiminax "pentiminax (2 commits)")

---

Tags

aiaimlapialbertamazeeaianthropicazurebedrockcerebrasdockermodelrunnerelevenlabsgeminihuggingfaceinferencelitellmllamallmlmstudiometasymfonysymfony-aiinferenceaiopenaiazureovhmetabedrocknovaGeminianthropiclitellmamazeeaillamaperplexityOpenRouterreplicatetransformerselevenlabsmistralollamavertexaihuggingfacealbertcerebraslmstudiovoyageaimlapidockermodelrunner

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/symfony-ai-platform/health.svg)

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

###  Alternatives

[cognesy/instructor-php

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

310107.9k1](/packages/cognesy-instructor-php)[symfony/ai-agent

PHP library for building agentic applications.

30536.7k44](/packages/symfony-ai-agent)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

1225.3M72](/packages/web-auth-webauthn-lib)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

50570.7k1](/packages/web-auth-webauthn-framework)

PHPackages © 2026

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