PHPackages                             leaseweb/version-information-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. leaseweb/version-information-bundle

AbandonedArchivedSymfony-bundle[Debugging &amp; Profiling](/categories/debugging)

leaseweb/version-information-bundle
===================================

Adds output of SVN and Git 'status' commands to the Web Debug Toolbar

v1.0.8(10y ago)2531.9k5[1 issues](https://github.com/LeaseWeb/LswVersionInformationBundle/issues)MITPHPPHP &gt;=5.3.2

Since Mar 26Pushed 10y ago6 watchersCompare

[ Source](https://github.com/LeaseWeb/LswVersionInformationBundle)[ Packagist](https://packagist.org/packages/leaseweb/version-information-bundle)[ Docs](http://www.leaseweblabs.com)[ RSS](/packages/leaseweb-version-information-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (9)Versions (10)Used By (0)

LswVersionInformationBundle
===========================

[](#lswversioninformationbundle)

[![screenshot](https://camo.githubusercontent.com/b05e0eabb163ddf2aaa3822b970c83deb41ec8338bc587a415ba45348a6dbc50/687474703a2f2f7777772e6c656173657765626c6162732e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031332f30322f6769745f696e666f2e706e67)](https://camo.githubusercontent.com/b05e0eabb163ddf2aaa3822b970c83deb41ec8338bc587a415ba45348a6dbc50/687474703a2f2f7777772e6c656173657765626c6162732e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031332f30322f6769745f696e666f2e706e67)

[![screenshot](https://camo.githubusercontent.com/4d4ef4edca3f7f466b74a9deb3be9586c72d1e9cd4e1f56aa1a316d2def59827/687474703a2f2f7777772e6c656173657765626c6162732e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031332f30322f73766e5f696e666f2e706e67)](https://camo.githubusercontent.com/4d4ef4edca3f7f466b74a9deb3be9586c72d1e9cd4e1f56aa1a316d2def59827/687474703a2f2f7777772e6c656173657765626c6162732e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031332f30322f73766e5f696e666f2e706e67)

How do the testers know what revision of our application they are testing and what branch or tag they are testing? This is especially a problem with acceptance testing where interactions between various systems are tested. Because the testers do not have command line access on the Linux machines that run the acceptance environment they cannot simply issue the "svn info" and "svn status" (or "git log -1" and "git status") commands like developers can.

[Read the LeaseWebLabs blog about LswVersionInformationBundle](http://www.leaseweblabs.com/2013/02/git-version-information-in-symfony2-wdt/)

To solve this problem we wrote a Symfony bundle called LswVersionInformationBundle. It shows the output of the "svn info" and "svn status" (or "git log -1" and "git status") commands in a tab in the Symfony2 debug toolbar. This bundle is actually a rewrite of the Symfony1 "lwTestingInformationPlugin" we wrote a year ago that can be found on the link below.

[Read the LeaseWebLabs blog about the Symfony1 version](http://www.leaseweblabs.com/2011/12/subversion-revision-information-in-the-symfony-debug-toolbar/)

### Installation

[](#installation)

To install LswVersionInformationBundle with Composer just add the following to your 'composer.json' file:

```
{
    require: {
        "leaseweb/version-information-bundle": "*",
        ...
    }
}

```

The next thing you should do is install the bundle by executing the following command:

```
php composer.phar update leaseweb/version-information-bundle

```

Finally, add the bundle to the registerBundles function of the AppKernel class in the 'app/AppKernel.php' file:

```
