PHP code example of elminson / css-js-versioning

1. Go to this page and download the library: Download elminson/css-js-versioning 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/ */

    

elminson / css-js-versioning example snippets



$cssVersion = file_get_contents("css_version");
$jsVersion = file_get_contents("js_version");