PHP code example of simplario / checker

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

    

simplario / checker example snippets

 php

return [
    'tasks' => [
        // default checker ( filesystem / gateway / phpExtension / service / storagePdo ... )
        ['checker' => 'filesystem', 'path' => __FILE__, 'exists' => true, 'readable' => true],
        // custom checker
        ['checker' => Simplario\Checker\Checker\Filesystem::class, 'path' => __FILE__, 'exists' => true],
    ],
];