Skip to content

juampi92/phecks

Repository files navigation

Phecks: PHP Checks

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

To-do, describe this package.

Installation

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
    |--------------------------------------------------------------------------
    |
    | Description.
     */

    'checks' => [],

    /*
    |--------------------------------------------------------------------------
    | Baseline
    |--------------------------------------------------------------------------
    |
    | Where the baseline is located.
     */

    'baseline' => '.phecks.baseline.json',
];

Usage

php artisan phecks:run

Testing

composer test

Credits

License

The MIT License (MIT). Please see License File for more information.