Download the PHP package 68publishers/tracy-git-version without Composer

On this page you can find all versions of the php package 68publishers/tracy-git-version. 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 tracy-git-version

Tracy Git version

Simple and extensible panel for [Tracy](https://github.com/nette/tracy) that shows information from Git.


Checks Coverage Status Total Downloads Latest Version PHP Version

Table of contents

Installation

The best way to install 68publishers/tracy-git-version is using Composer:

Basic integration

Standalone Tracy integration

The simplest way how to register the panel into Tracy is by creating a default instance and providing it directly into a Bar.

Integration into Nette Framework

Basic integration into Nette is really simple. Just register an extension.

And everything works 😉

Solution for application builds without Git

Often when we deploy an application to a production environment, neither Git nor the .git directory is available due to trying to have a build as small as possible. However, at this moment we have no source of information about the current version. The solution is to export a file that contains all important information at the time when the Git is still accessible.

Setup for standalone Tracy

You must create repositories and the panel manually but there is not much work to do.

Setup for Nette Framework

The setup for Nette is more simple. Just add another extension into your neon configuration.

The default name for the exported file is %tempDir%/git-version/repository.json but you can change it.

Creating the export file

The export file should be created by executing a script that is located in the composer's bin directory. The script is independent of the application so you must provide the filename of the exported file as an option.

Advanced guide

If you want to read more about repositories, how to extend them or how to add custom data into the panel, please see the Advanced guide.

Contributing

Before opening a pull request, please check your changes using the following commands

License

The package is distributed under the MIT License. See LICENSE for more information.


All versions of tracy-git-version with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 | ^8.0
ext-json Version *
tracy/tracy Version ^2.6.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 68publishers/tracy-git-version contains the following files

Loading the files please wait ....