PHP code example of kba-team / cake3_app_version

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

    

kba-team / cake3_app_version example snippets



echo constant('APP_VERSION');
//or
use \kbATeam\AppVersion\Version;
echo Version::string();


Plugin::load('kbATeam/AppVersion', ['bootstrap' => true, 'routes' => false]);