kba-team/cake2_app_version
最新稳定版本:v2.0.1
Composer 安装命令:
composer require kba-team/cake2_app_version
包简介
CakePHP plugin to determine the current version of your application. The version is either taken from the commit.json of the deploy script or from the local clone of the git repository.
README 文档
README
CakePHP 2.x plugin to determine the current version of your application. The version is either taken from the commit.json of the deploy script or from the local clone of the git repository.
Usage
<?php echo constant('APP_VERSION'); //or echo appVersion();
Installation
- Require the plugin.
composer require kba-team/cake2_app_version
- Include the plugin in your
bootstrap.php
<?php CakePlugin::load('AppVersion', ['bootstrap' => true, 'routes' => false]);
统计信息
- 总下载量: 4.64k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-12-19