laravel/surveyor
Laravel Surveyor is a mostly static analysis tool for PHP/Laravel code. It parses files to extract metadata on classes, methods, properties, and types, and can also inspect models (brief DB connection) and container bindings to enrich results for other tools/packages.
Route::controller?").User model").decrypt() calls).phpstan).phpmetrics or phploc).phpstan or psalm)."Surveyor is a Laravel-native static analysis tool that turns our codebase into structured data—like a ‘Google Maps for our PHP classes.’ This lets us build custom tools (e.g., auto-generated docs, smarter IDE features) without reinventing the wheel. For example, we could automatically flag technical debt or accelerate onboarding by surfacing class dependencies. It’s a low-risk investment (Beta but actively maintained) that unlocks high-value internal tooling—think of it as ‘GitHub Copilot for our codebase.’"
*"Surveyor gives us programmatic access to parsed metadata about our Laravel app: classes, methods, properties, return types, and more. This is a game-changer for:
*"Imagine if your IDE could instantly tell you:
grep for your codebase, but smarter."*How can I help you explore Laravel packages today?