PHP code example of satheez / laravel-package-doctor

1. Go to this page and download the library: Download satheez/laravel-package-doctor 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/ */

    

satheez / laravel-package-doctor example snippets


return [
    // Gate values for CI mode
    'ci' => [
        'minimum_project_score' => 60,
        'fail_on_statuses'      => ['critical'],
    ],

    // Scope: skip dev packages, scan only direct deps
    'scan' => [
        'e known false positives
    'ignore' => [
        'packages' => [
            // 'vendor/package' => 'reason',
        ],
    ],
];
bash
php artisan vendor:publish --tag=package-doctor-config
bash
php artisan package:doctor
bash
php artisan package:doctor --offline
bash
php artisan package:doctor --direct