PHP code example of perfectwebteam / craft-ohdear-application-health

1. Go to this page and download the library: Download perfectwebteam/craft-ohdear-application-health 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/ */

    

perfectwebteam / craft-ohdear-application-health example snippets




return [
    'checks' => [
        'addUpdateCheck' => true,
        'addQueueCheck' => true,
        'addPendingMigrationsCheck' => true,
        'addProjectConfigCheck' => true,
        'addErrorLogCheck' => true,
        'addGitChangesCheck' => true,
        'addSecurityHeadersCheck' => true,
        'addPhpVersionCheck' => true,
        'addAdminUsersCheck' => true,
    ],
    'oldestUpdateWarningDays' => 30,
    'minimumPhpVersion' => '8.1.0',
    '