PHP code example of kduma / file-hasher

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

    

kduma / file-hasher example snippets

 php
use KDuma\FileHasher\Checker;
use KDuma\FileHasher\Hasher;

var_dump(Hasher::file('test.php'));
var_dump(Checker::file('test.php.ph'));