PHP code example of dodger451 / laravelcodechecker

1. Go to this page and download the library: Download dodger451/laravelcodechecker library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

dodger451 / laravelcodechecker example snippets

 bash
php artisan vendor:publish --tag=laravelcodechecker
 bash
config/
    laravelcodechecker.php
    phpcs/
        ruleset.xml
    phpmd/
        rulesets/
            cleancode.xml
            codesize.xml
            controversial.xml
            design.xml
            naming.xml
            unusedcode.xml
 bash
php artisan cc:phplint
php artisan cc:phpcs
php artisan cc:phpmd
 bash
php artisan cc:phpmd tests app

language: php
php:
  - '7.1'
  - '7.2'
  - nightly

install:
  - composer install

script:
  - php artisan cc:all