PHP code example of consolidation / version-tool

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

    

consolidation / version-tool example snippets


    $version_info = new VersionTool();
    $info = $version_info->info($path);
    $app = $info->application();
    $version = $info->version();