phpstan
Verified for current stable LTS
Phpstan Commands
Phpstan command syntax with verified terminal examples.
Commands
6 commands for Phpstan
phpstan Operations
Phpstan Command: Analyze Directories
phpstan analyse <path/to/directory1 path/to/directory2 ...> phpstan Operations
Phpstan Command: Analyze Directory With Config
phpstan analyse <path/to/directory> -c <path/to/config> phpstan Operations
Phpstan Command: Analyze With Autoload File
phpstan analyse <path/to/directory> -a <path/to/autoload_file> phpstan Operations
Phpstan Command: Analyze With Memory Limit
phpstan analyse <path/to/directory> --memory-limit <memory_limit> phpstan Operations
Phpstan Command: Analyze With Specific Rule Level
phpstan analyse <path/to/directory> -l <level> phpstan Operations
Phpstan Command: Display Analysis Options
phpstan analyse --help Suggest a Phpstan Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Phpstan workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.