Most agent-friendly PHP repos
14 PHP repos, ranked by overall score (the average across agents). They average 71.4. Best with 100+ stars: nextcloud/server (85.9).
9 of them have an AGENTS.md or CLAUDE.md: PHP AGENTS.md examples, and guides for Laravel.
What PHP repos most often miss
- Cursor rules (.cursor/rules): 7% pass rate
- Pre-commit / git hooks: 7% pass rate
- Skills (.agents/skills): 29% 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 ☁️ Nextcloud server, a safe home for all your data | 37.6k ★ | 85.9 | open |
| 2 | guzzle/guzzleGitHub Guzzle, an extensible PHP HTTP client | 23.4k ★ | 80.8 | open |
| 3 | filamentphp/filamentGitHub An open-source framework for building polished, maintainable business software with Laravel. | 32.5k ★ | 76.0 | open |
| 4 | koel/koelGitHub Music streaming solution that works. | 17.4k ★ | 75.8 | open |
| 5 | coollabsio/coolifyGitHub An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers. | 66.4k ★ | 73.9 | open |
| 6 | api-platform/coreGitHub The server component of API Platform: hypermedia and GraphQL APIs in minutes | 2.6k ★ | 73.7 | open |
| 7 | nikic/PHP-ParserGitHub A PHP parser written in PHP | 17.5k ★ | 72.5 | open |
| 8 | bagisto/bagistoGitHub Open Source eCommerce & Multi-Vendor Marketplace Platform Built with Laravel for Enterprise-Scale Commerce, Supporting 10M+ SKUs | 28.4k ★ | 72.0 | open |
| 9 | laravel/frameworkGitHub Laravel is a web application framework with expressive, elegant syntax. | 35k ★ | 70.6 | open |
| 10 | laravel/aiGitHub The Laravel AI SDK provides a unified, expressive API for interacting with AI providers such as OpenAI, Anthropic, Gemini, and more. | 1.3k ★ | 69.9 | open |
| 11 | phpstan/phpstanGitHub PHP Static Analysis Tool - discover bugs in your code without running it! | 14.2k ★ | 68.8 | open |
| 12 | symfony/aiGitHub Symfony AI is a set of components that integrate AI capabilities into PHP applications | 1.3k ★ | 65.8 | open |
| 13 | composer/composerGitHub Dependency Manager for PHP | 29.6k ★ | 58.2 | open |
| 14 | symfony/symfonyGitHub The Symfony PHP framework | 31.5k ★ | 55.3 | open |