api-platform/core

GitHub
https://github.com/api-platform/core

The server component of API Platform: hypermedia and GraphQL APIs in minutes

  • api
  • api-platform
  • graphql
  • hacktoberfest
  • hal
  • hydra-api
  • hypermedia
  • json-ld
  • jsonapi
  • php
  • rest
  • swagger
  • symfony
  • symfony-bundle
Stars:
2.6k
Language:
PHP
Default branch:
main
Last scored:
Overall

At a glance

Rank
#226 of 401
#5 of 12 PHP repos
Checks passed
8 of 17
Full list below
Best set up for
Claude Code
Score 71.7
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
#209 of 401
71.7
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✗Reproducible dev env
Pi
#191 of 401
70.0
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Linter / formatter config
Kimi Code CLI
#206 of 401
69.3
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Dependency manifest
Codex
#225 of 401
69.0
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ✓Test suite
Aider
#208 of 401
64.8
  • ✗.aider.conf.yml
  • ✓Linter / formatter config
  • ✓Test suite
Devin
#256 of 401
64.3
  • ✗Reproducible dev env
  • ✓Dependency manifest
  • ✓Test suite
OpenHands
#254 of 401
61.5
  • ✓CI configuration
  • ✓Dependency manifest
  • ✗Reproducible dev env
Cursor
#237 of 401
60.9
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✗Type configuration
Gemini CLI
#250 of 401
60.3
  • ✗GEMINI.md
  • ✓README
  • ✓Test suite

Does api-platform/core 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) · 3,254 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 · 8 passed

No .agents/skills/<name>/SKILL.md
Substantive (3,254 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
5 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,296 characters)
Manageable size· 50% pass
3579 files — large
Test suite· 100% pass
Found /tests
No type config found

How api-platform/core compares

vs leaderboard average
1.0 pts below
Average 66.8
vs PHP average
2.7 pts above
Average 63.1
Stars among PHP repos
#10 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/api-platform/core
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/api-platform/core.svg)](https://agentfriendlycode.com/repo/github/api-platform/core)

Check the score on every pull request

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