PHP code example of kba-team / cake2_app_version
1. Go to this page and download the library: Download kba-team/cake2_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 / cake2_app_version example snippets
echo constant('APP_VERSION');
//or
echo appVersion();
CakePlugin::load('AppVersion', ['bootstrap' => true, 'routes' => false]);