permafrost-dev/php-code-search
Search PHP projects by symbol or text to quickly find classes, methods, functions, and constants across your codebase. Fast, lightweight code search for local repositories, useful for audits, refactors, and navigating large Laravel or PHP applications.
Auth::attempt() calls").Log::debug() calls for PII").Adopt if:
grep/ripgrep or IDE search (e.g., PHPStorm) for PHP/Laravel code navigation.DB::table() calls").Look elsewhere if:
For Executives: "This open-source tool lets our PHP/Laravel engineers search code 10x faster than manual methods, cutting debugging time and reducing bus-factor risks. For example, it can instantly find every place a critical method is called—saving hours per week. It’s lightweight, self-hosted, and MIT-licensed, so we avoid vendor lock-in. Early adopters like [hypothetical team] use it to audit third-party dependencies and accelerate onboarding. The cost? Zero—just developer time to integrate."
For Engineering:
*"Need to find all usages of Auth::login()? Or audit where a variable is modified across 20+ files? This CLI tool indexes your PHP/Laravel codebase once, then answers these questions in milliseconds. It’s like grep on steroids—with Laravel-specific smarts (e.g., handling facades, closures). We can plug it into:
@deprecated tags.search:usage App\Models\User to explore the codebase.’file_get_contents() calls for path traversal risks.’
It’s MIT-licensed, actively maintained, and avoids bloating our stack with heavyweight tools."*How can I help you explore Laravel packages today?