phpcq / autoload-validation
Check that the contents of the composer.json autoload keys are correct.
                                    Fund package maintenance!
                                                                            
                                                                                                                                        discordier
                                                                                    
                                                                            
                                                                                                                                        dmolineus
                                                                                    
                                                                
Installs: 94 517
Dependents: 4
Suggesters: 0
Security: 0
Stars: 7
Watchers: 8
Forks: 3
Open Issues: 3
pkg:composer/phpcq/autoload-validation
Requires
- php: ^5.6 | ^7.1
- psr/log: ^1.1.3
- symfony/console: ^3.0 | ^4.0 | ^5.0
- symfony/finder: ^3.0 | ^4.0 | ^5.0
Requires (Dev)
- phpcq/all-tasks: ^1.3
This package is auto-updated.
Last update: 2025-10-27 03:26:50 UTC
README
Validate the autoload information within composer.json.
This is useful to ensure that all classes covered by the defined autoload information in the composer.json.
Usage
Add to your composer.json in the require-dev section:
"phpcq/autoload-validation": "~1.0"
Call the binary:
./vendor/bin/check-autoloading.php
Optionally pass the root of the git repository to check:
./vendor/bin/check-autoloading.php /path/to/some/repository