Download the PHP package kba-team/cake2_app_version without Composer
On this page you can find all versions of the php package kba-team/cake2_app_version. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kba-team/cake2_app_version
More information about kba-team/cake2_app_version
Files in kba-team/cake2_app_version
Package cake2_app_version
Short Description 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.
License MIT
Informations about the package cake2_app_version
CakePHP 2.x AppVersion
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
APP_VERSION_IDENTIFIER is the release tag or Git ref recorded in
commit.json, or the local Git branch when the file is unavailable.
APP_COMMIT is the abbreviated commit SHA as provided by the source. When
neither source provides both values, each constant contains ~ ? ~.
APP_VERSION retains the combined identifier (rev. commit) format and its
existing fallback. The plugin reads APP/webroot/commit.json; custom file
paths are no longer supported.
The constants are set once at bootstrap. Restart long-running workers after a deployment to pick up the new values. Applications can add the separate constants to their own logging configuration; this plugin does not configure Graylog.
Installation
-
Require the plugin.
- Include the plugin in your
bootstrap.php
Development
The Makefile runs Composer and PHP tools in Docker. Supported PHP versions are 8.1, 8.2, and 8.3.
Use DEPENDENCIES_LOWEST=1 with make install to resolve the lowest allowed
dependency versions.
Distribution archives contain the plugin bootstrap, Composer metadata, and license. Composer source installations use a full repository checkout instead.
All versions of cake2_app_version with dependencies
php Version >8.0, <8.4
composer/installers Version ^2.2
kba-team/version Version ^2.0