ink/version-tag-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Symfony2 bundle to provide an easy way to include a version number from a file into twig templates

dev-master 2014-02-27 03:56 UTC

This package is not auto-updated.

Last update: 2020-01-20 07:19:45 UTC


README

This bundle provides a quick way to include a version number in your application that is read from a file.

Installation

You can install Haphazard through composer:

composer.phar require ink/version-tag-bundle

Configuration

To use this bundle, you will need to register it with the app kernel:

$bundles = array(
    // ...
    new Ink\VersionTagBundle\InkVersionTagBundle(),
);

You will also need to specify a file from which to read your application's version string from.

in app/config/config.yml:

ink_version_tag:
    file_location: %kernel.root_dir%/../VERSION