symfony/ai

GitHub
https://github.com/symfony/ai

Symfony AI is a set of components that integrate AI capabilities into PHP applications

Stars:
1.2k
Language:
PHP
Default branch:
main
Last scored:
Overall

At a glance

Rank
#265 of 401
#7 of 12 PHP repos
Checks passed
7 of 17
Full list below
Best set up for
Claude Code
Score 67.8
Needs most work for
Gemini CLI
Biggest fix: GEMINI.md (+10.9 pts)

What it has

What it's missing

What to fix first

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    Reproducible dev env
    Add a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.
    +11.8 pts
  2. 2
    Type configuration
    Add a type config (tsconfig.json for JS/TS, mypy.ini or pyrightconfig.json for Python). Rust/Go/JVM/Scala/Swift/C#/OCaml/Haskell/Zig are typed by default.
    +7.9 pts
  3. 3
    Pre-commit / git hooks
    Set up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.
    +5.3 pts

Score for each AI agent

Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →

Claude Code
#262 of 401
67.8
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✗Reproducible dev env
Pi
#234 of 401
66.4
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Linter / formatter config
Codex
#262 of 401
65.9
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ~Test suite
Kimi Code CLI
#244 of 401
65.7
  • ✓AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Dependency manifest
Devin
#289 of 401
61.1
  • ✗Reproducible dev env
  • ✓Dependency manifest
  • ~Test suite
Aider
#250 of 401
60.6
  • ✗.aider.conf.yml
  • ✓Linter / formatter config
  • ~Test suite
OpenHands
#276 of 401
58.8
  • ✓CI configuration
  • ✓Dependency manifest
  • ✗Reproducible dev env
Cursor
#268 of 401
58.5
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✗Type configuration
Gemini CLI
#292 of 401
57.4
  • ✗GEMINI.md
  • ✓README
  • ~Test suite

Does symfony/ai have agent instructions?

An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.

AGENTS.md / CLAUDE.md
AGENTS.md (new tab) · 11,494 characters
Agent-specific files
None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
7 of 12 PHP repos · 221 of 401 repos on the leaderboard · See examples →

All 17 checks · 7 passed

No .agents/skills/<name>/SKILL.md
Substantive (11,494 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
13 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
No Makefile / devcontainer / Docker / equivalent found
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (1,781 characters)
Manageable size· 50% pass
4465 files — large
Test suite· 70% pass
Test files detected (ai.symfony.com/tests/Controller/CookbookControllerTest.php)
No type config found

How symfony/ai compares

vs leaderboard average
4.3 pts below
Average 66.8
vs PHP average
0.6 pts below
Average 63.1
Stars among PHP repos
#12 of 12

Missing here, and how many repos have it

  • Type configuration · passed by 68% of leaderboard repos, 8% of PHP repos
  • Pre-commit / git hooks · passed by 29% of leaderboard repos, 8% of PHP repos
  • Reproducible dev env · passed by 22% of leaderboard repos, 17% of PHP repos

One fix for the most agents: Reproducible dev env would raise the score for all 9 agents, by up to 11.9 points.

Similar repos

Same language and host as this repo, closest in overall score.

All PHP repos →

Same topics, any language

Repos tagged with the same GitHub topics, most shared first.

Add a badge to your README

Paste this at the top of the README. It shows the score, and links back to this page.

Agent friendly score for github/symfony/ai
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/symfony/ai.svg)](https://agentfriendlycode.com/repo/github/symfony/ai)

Check the score on every pull request

A GitHub Action posts one comment per pull request with how the score changed and why.