Download the PHP package cline/analyzer without Composer
On this page you can find all versions of the php package cline/analyzer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cline/analyzer
More information about cline/analyzer
Files in cline/analyzer
Package analyzer
Short Description Configurable parallel PHP code analyzer for checking class references
License MIT
Informations about the package analyzer
Analyzer
Configurable parallel PHP code analyzer for checking class references with Laravel Prompts UI and AI agent orchestration.
Requirements
Requires PHP 8.4+ and Laravel 12+
Installation
The service provider will be automatically registered via Laravel's package discovery.
Features
- Laravel Artisan Command:
php artisan analyzer:analyzefor easy CLI usage - AI Agent Mode: Generate XML-structured prompts for parallel AI-powered fixes
- Configurable Architecture: Replace core components via interfaces
- Parallel Processing: Analyze files concurrently with configurable worker count
- Laravel Prompts UI: Beautiful terminal reporting with summary statistics
- Flexible Resolution: Custom path, file, and analysis resolvers
- Based on graham-analyzer: Built on battle-tested analysis logic
Usage
Artisan Command
Programmatic Usage
AI Agent Mode
Generate structured prompts for spawning parallel AI agents to fix issues:
This outputs XML-structured orchestration prompts grouped by namespace for efficient parallel processing.
Configuration
Publish the configuration file:
This creates analyzer.php in your project root:
Custom Resolvers
Implement custom resolution logic:
Documentation
- Getting Started - Installation and basic usage
- Configuration - Paths, workers, ignore, and exclude patterns
- Parallel Processing - Worker configuration and benchmarks
- Custom Resolvers - Path, file, analysis, and reporter interfaces
- Examples - CI/CD, pre-commit hooks, route and translation analysis
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
Credits
- Brian Faust
- Based on graham-campbell/analyzer
- All Contributors
License
The MIT License. Please see License File for more information.
All versions of analyzer with dependencies
facade/ignition-contracts Version ^1.0.2
laravel/framework Version ^10.0 || ^11.0 || ^12.0 || ^13.0
laravel/prompts Version ^0.3.13
nikic/php-parser Version ^5.7.0
phpdocumentor/reflection-common Version ^2.2
phpdocumentor/reflection-docblock Version ^5.6.6
phpdocumentor/type-resolver Version ^1.12.0
symfony/process Version ^7.4.5 || ^8.0