← back to leaderboard

symfony/aiGitHub

https://github.com/symfony/ai
Stars:
1.2k
Language:
PHP
Default branch:
main
Last scored:
18h ago
Overall

At a glance

Rank
#244 of 371
#6 of 10 PHP repos
Checks passed
7 of 16
Full list below
Best set up for
Pi
Score 70.1
Needs most work for
Gemini CLI
Biggest fix: GEMINI.md (+11.4 pts)

What to fix first

  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 looks for different things in a repo, based on its own docs. Under each score are the three checks it cares about most.

Pi
70.1
GPT-5 Codex
69.5
Kimi CLI
69.4
Claude Code
67.8
Devin
66.6
Cursor
61.3
OpenHands
61.2
Aider
60.6
Gemini CLI
60.0

Similar repos

Scored for Claude Code. Same language and host as this repo, scoring near it.

All PHP repos →

All checks

Substantive (11122 chars)
AGENTS.md
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
13 GitHub Actions workflow(s)
.github/workflows
CONTRIBUTING guide· 100% pass
Guide present
CONTRIBUTING.md
No .cursor/rules/*.mdc or .cursorrules
Manifest present
composer.json
No Makefile / devcontainer / Docker / equivalent found
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
LICENSE
Config detected
.php-cs-fixer.dist.php
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (1893 chars)
README.md
Manageable size· 50% pass
4272 files — large
Test suite· 70% pass
Test files detected (ai.symfony.com/tests/Controller/CookbookControllerTest.php)
ai.symfony.com/tests/Controller/CookbookControllerTest.php
No type config found

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

Add this file to your repo. On each pull request, it posts one comment showing how the score changed and why. It runs in your own CI, with no outside server involved.

# .github/workflows/agent-friendly.yml
name: Agent-friendly score diff

on:
  pull_request:
    branches: [main]

permissions:
  contents: read
  pull-requests: write

jobs:
  score-diff:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
        with:
          fetch-depth: 0
      - uses: hsnice16/agent-friendly-action@v0
        with:
          agents-badge-token: ${{ secrets.AGENTS_BADGE_TOKEN }}

Add AGENTS_BADGE_TOKENto the repo's secrets to turn the comment on. Without it, the action does nothing. Where do I add it?