定制 kba-team/cake2_app_version 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. Require the plugin.
composer require kba-team/cake2_app_version
  1. Include the plugin in your bootstrap.php
<?php
CakePlugin::load('AppVersion', ['bootstrap' => true, 'routes' => false]);

统计信息

  • 总下载量: 4.64k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-12-19