Most agent-friendly PHP repos
12 PHP repos, ranked by overall score (the average across agents). They average 62.9, and nextcloud/server leads with 85.9.
7 of them have an AGENTS.md or CLAUDE.md: PHP AGENTS.md examples.
What PHP repos most often miss
- Cursor rules (.cursor/rules): 0% pass rate
- Pre-commit / git hooks: 8% pass rate
- Type configuration: 8% pass rate
Leaves out checks only one agent reads, which almost no repo passes. The methodology explains each check.
| Rank | Repo | Stars | Score | External link |
|---|---|---|---|---|
| 1 | nextcloud/serverGitHub | 37.4k ★ | open | |
| 2 | guzzle/guzzleGitHub | 23.4k ★ | open | |
| 3 | filamentphp/filamentGitHub | 32.4k ★ | open | |
| 4 | api-platform/coreGitHub | 2.6k ★ | open | |
| 5 | coollabsio/coolifyGitHub | 65.7k ★ | open | |
| 6 | nikic/PHP-ParserGitHub | 17.5k ★ | open | |
| 7 | symfony/aiGitHub | 1.2k ★ | open | |
| 8 | laravel/aiGitHub | 1.3k ★ | open | |
| 9 | composer/composerGitHub | 29.6k ★ | open | |
| 10 | laravel/frameworkGitHub | 35k ★ | open | |
| 11 | phpstan/phpstanGitHub | 14.2k ★ | open | |
| 12 | symfony/symfonyGitHub | 31.5k ★ | open |