phpcq / autoload-validation
Check that the contents of the composer.json autoload keys are correct.
Fund package maintenance!
discordier
dmolineus
Installs: 88 814
Dependents: 4
Suggesters: 0
Security: 0
Stars: 7
Watchers: 9
Forks: 3
Open Issues: 3
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: 2024-10-27 00:48:32 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