PHP AGENTS.md examples from 7 open source repos
7 of the 12 PHP repos on the leaderboard have an AGENTS.md or CLAUDE.md at the root, and 7 are long enough to pass the AGENTS.md check in full. Most-starred first; each file name links to the file.
PHP repos with an AGENTS.md or CLAUDE.md (7)
| Repo | File | Length |
|---|---|---|
| coollabsio/coolify | AGENTS.md | 39,899 chars |
| nextcloud/server | AGENTS.md | 8,748 chars |
| filamentphp/filament | AGENTS.md | 7,613 chars |
| guzzle/guzzle | AGENTS.md | 4,577 chars |
| phpstan/phpstan | CLAUDE.md | 6,228 chars |
| api-platform/core | AGENTS.md | 3,254 chars |
| symfony/ai | AGENTS.md | 11,494 chars |
More examples
- Every language: all 218 files, with the longest and shortest that pass
- Most agent-friendly PHP repos: all 12, ranked on every check
- AGENTS.md vs CLAUDE.md: which file to write
- TypeScript (61)
- Python (29)
- Rust (24)
- Go (22)
- Java (18)
- C++ (10)
- JavaScript (9)
- Kotlin (8)
- Ruby (6)