To-do, describe this package.
You can install the package via composer:
composer require juampi92/phecks
You can publish the config file with:
php artisan vendor:publish --tag="phecks:config"
This is the contents of the published config file:
return [
'checks' => [],
'baseline' => '.phecks.baseline.json',
];
php artisan phecks:run
composer test
List of tasks missing for the release:
- Improve Console formatter to list tips and errors in a clearer way (more similar to PHPStan).
- Make a progress bar for the checks.
- Make an ArtisanSource (php artisan list).
- Figure out how to use the filter + map together. Solution: split into two methods like PHPStan does.
- Finish the idea of Extractors. Pipe? Transformers?
- Wiki!
- More tests!
Ideas for future releases:
- Be able to run only one Check.
- Allow configuration of Checks (using the config).
The MIT License (MIT). Please see License File for more information.