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.10.0(2w ago)521.4M↓32%1520MITPHPPHP &gt;=8.2

Since Dec 23Pushed 2w 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 2d ago

READMEChangelog (9)Dependencies (102)Versions (12)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`Codex`symfony/ai-codex-platform`Cohere`symfony/ai-cohere-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

61

—

FairBetter than 98% of packages

Maintenance96

Actively maintained with recent releases

Popularity55

Moderate usage in the ecosystem

Community46

Growing community involvement

Maturity44

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

Total

11

Last Release

18d ago

### Community

Maintainers

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

---

Top Contributors

[![chr-hertel](https://avatars.githubusercontent.com/u/2852185?v=4)](https://github.com/chr-hertel "chr-hertel (140 commits)")[![OskarStark](https://avatars.githubusercontent.com/u/995707?v=4)](https://github.com/OskarStark "OskarStark (138 commits)")[![Guikingone](https://avatars.githubusercontent.com/u/13744329?v=4)](https://github.com/Guikingone "Guikingone (20 commits)")[![valtzu](https://avatars.githubusercontent.com/u/652734?v=4)](https://github.com/valtzu "valtzu (18 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (13 commits)")[![VincentLanglet](https://avatars.githubusercontent.com/u/9052536?v=4)](https://github.com/VincentLanglet "VincentLanglet (9 commits)")[![wachterjohannes](https://avatars.githubusercontent.com/u/1464615?v=4)](https://github.com/wachterjohannes "wachterjohannes (7 commits)")[![welcoMattic](https://avatars.githubusercontent.com/u/773875?v=4)](https://github.com/welcoMattic "welcoMattic (5 commits)")[![lochmueller](https://avatars.githubusercontent.com/u/3907126?v=4)](https://github.com/lochmueller "lochmueller (5 commits)")[![lyrixx](https://avatars.githubusercontent.com/u/408368?v=4)](https://github.com/lyrixx "lyrixx (3 commits)")[![RamyHakam](https://avatars.githubusercontent.com/u/17661342?v=4)](https://github.com/RamyHakam "RamyHakam (3 commits)")[![natewiebe13](https://avatars.githubusercontent.com/u/759228?v=4)](https://github.com/natewiebe13 "natewiebe13 (2 commits)")[![Amoifr](https://avatars.githubusercontent.com/u/31698966?v=4)](https://github.com/Amoifr "Amoifr (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)")[![MolloKhan](https://avatars.githubusercontent.com/u/3451985?v=4)](https://github.com/MolloKhan "MolloKhan (2 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (2 commits)")

---

Tags

aiaimlapialbertamazeeaianthropicazurebedrockcerebrasdockermodelrunnerelevenlabsgeminihuggingfaceinferencelitellmllamallmlmstudiometasymfonysymfony-aiinferenceaiopenaiazureovhmetabedrocknovaGeminianthropiclitellmamazeeaillamaperplexityOpenRouterreplicatetransformerselevenlabsmistralollamavertexaihuggingfacealbertcerebraslmstudiovoyageaimlapidockermodelrunnerspeech

###  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

[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

12310.5M135](/packages/web-auth-webauthn-lib)[symfony/ai-agent

PHP library for building agentic applications.

32870.1k107](/packages/symfony-ai-agent)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

515100.5k3](/packages/web-auth-webauthn-framework)[sylius/sylius

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

8.5k5.9M737](/packages/sylius-sylius)[cognesy/instructor-php

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

318123.0k1](/packages/cognesy-instructor-php)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

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