Skip to content

N1-San/php-scout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Scout

PHP Scout is a high-performance, production-grade CLI tool designed to analyze large-scale PHP and Laravel codebases. It uses Abstract Syntax Tree (AST) parsing to provide deep insights into code structure and metrics.

Features

  • Deep Analysis: Detects classes, methods, and namespaces using nikic/php-parser.
  • Memory Efficient: Uses stream-based line counting to handle projects with millions of lines of code.
  • Laravel Ready: Automatically detects Laravel environments and prepares for route/model mapping.
  • Clean Architecture: Designed with extensibility in mind (Strategy and Visitor patterns).

Installation

composer install
composer dump-autoload

Usage

php bin/analyze <project path>

About

a CLI tool designed for to analyze large-scale PHP and Laravel codebases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages