PHP code example of codevioso / laravel-doctor

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

    

codevioso / laravel-doctor example snippets


use Codevioso\LaravelDoctor\Doctor;

public function boot()
{
    app(Doctor::class)->registerCheck(App\Doctor\MyCustomCheck::class);
}
bash
php artisan doctor:check
bash
php artisan vendor:publish --tag=doctor-config
bash
php artisan doctor:check
bash
php artisan doctor:check --only=ConfigCacheCheck
bash
php artisan doctor:check --skip=RouteCacheCheck,ViewCacheCheck
bash
php artisan doctor:check --demo