PHP code example of popphp / pop-version

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

    

popphp / pop-version example snippets


// echo '2.0.0'
echo Pop\Version\Version::VERSION;

// echo '2.0.0'
echo Pop\Version\Version::getLatest();

// Returns true
if (Pop\Version\Version::isLatest()) { }

$env = Pop\Version\Version::systemCheck();