PHP code example of trungpv93 / file-info-php

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

    

trungpv93 / file-info-php example snippets

html
$finfo = new \Trungpv93\FileInfoPHP\FileInfo();
$i = $finfo->get($link);