Download the PHP package kamiyang/ext-projectversion without Composer

On this page you can find all versions of the php package kamiyang/ext-projectversion. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ext-projectversion

Project Version (EXT:project_version)

StyleCI Build Status Coverage Status Scrutinizer Code Quality

What is project version?

Project version is a TYPO3 extension that adds an entry to the TYPO3 system information in the toolbar. This entry is based either on the common 'VERSION' file or on the local GIT revision.

How do I install it?

First make sure you match the requirements:

Requirement Version
TYPO3 >=8.7 <9.6
php >= 7.0

Composer

Simply require the extension from packagist: composer require kamiyang/ext-projectversion

Or if you prefer typo3-ter: composer require typo3-ter/projectversion

TER

No composer available? No problem! You also can find this extension at TYPO3's Extension Repository (TER). You can straight download it from inside your TYPO3 as long, as your TYPO3 is not in composer mode.

How do I use it?

"VERSION"-file

Now, this is the easiest part. Create a file called VERSION (case sensitive) in your TYPO3 frontend docroot with the project version. This can be done like this: $ echo 1.0.0-rc.3 > /var/www/html/VERSION

Custom Path

You can use your own filename and path. Note that this path still has to be accessible from your web docroot. The configuration can be done in the ExtensionConfiguration. It is also possible to change the directory of the 'VERSION'-file. Only provide a directory path (with trailing slash '/') and it will automatically search for an file called 'VERSION'.

Examples: We assume that the web document root (PATH_site) is /var/www/html.

Configured Path Absolute filename
(empty - default) /var/www/html/VERSION
MyVersion /var/www/html/MyVersion
typo3conf/ /var/www/html/typo3conf/VERSION
./My/Custom/Version/File/In/Some/Nested/File/Structure /var/www/html/./My/Custom/Version/File/In/Some/Nested/File/Structure

GIT

Since release 0.3.0 git is supported. This must be manually activated. In order to use git, make sure it's available! Common case is that the local development environment is based on docker images. Many docker images do not have git out of the box available. To activate it, simply move via your preferred web browser into the TYPO3 backend. For TYPO3 v8.7 - go to "Extensions > Project Version" and configure the extension. The configuration screen will look like this on default:

This has changed a bit in TYPO3 v9. To configure the extension go to "Settings > Configure extensions" and filter for "project version". The new configuration screen will look like this:

Configuration possibilities

basic.mode
Configuration Description
VERSION File (default) Fetches the current project version based on the path configured in basic.versionFilePath
GIT Uses GIT if available to resolve the project version in the format configured in basic.gitFormat
GIT (VERSION file as fallback) Will use GIT as preferred resolving method. If not available will fallback to VERSION file.
basic.gitFormat
Configuration Description Example
Revision Will only fetch the revision as project version
[revision] Branch (default) Will fetch the current revision and branch
[revision] Tag Will fetch the current revision and tag
Branch Will only fetch the current branch
Tag Will only fetch the current tag

Roadmap to v1.0.0

Milestone for v0.6.0

Note

The TYPO3 v8 version of this extension will not be maintained after release 1.0.0! But this should be no problem because TYPO3 v8 only gets bugfixes. This means, version 1.0.0 should stay compatible with all further TYPO3 v8 releases!

After releasing version 1.0.0, which will be around the release of the first TYPO3 v9 LTS version, EXT:project_version will be refactored to php7.2 and will integrate TYPO3 v9 features.


All versions of ext-projectversion with dependencies

PHP Build Version
Package Version
Requires typo3/cms-backend Version >=8.7 <9.6
typo3/cms-extbase Version >=8.7 <9.6
typo3/cms-extensionmanager Version >=8.7 <9.6
php Version >=7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kamiyang/ext-projectversion contains the following files

Loading the files please wait ....