PHP code example of lander931 / df

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

    

lander931 / df example snippets


$df = new \Lander931\DF\DF(true);
$file_system = $df->info('/dev/sda1');

print_r($file_system);