PHPackages                             gpaton/labelconverter-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gpaton/labelconverter-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

gpaton/labelconverter-bundle
============================

Symfony GpatonLabelConverterBundle

1.0.1(8y ago)2117GPL-2.0-onlyPHPPHP &gt;=5.4.0

Since Mar 2Pushed 8y ago1 watchersCompare

[ Source](https://github.com/gpaton/LabelConverterBundle)[ Packagist](https://packagist.org/packages/gpaton/labelconverter-bundle)[ Docs](http://gpaton.github.com)[ RSS](/packages/gpaton-labelconverter-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

LabelConverter Bundle
=====================

[](#labelconverter-bundle)

\## Introduction

This Symfony Bundle provides tools to convert an integer to a label like roman numeral, capital or lowercase letter

Label types currently supported are :

- **Roman numeral** : I, II, III, ...
- **Capital letter** : A, B, C, ...
- **Lowercase letter** : a, b, c, ...
- **Arabic numeral** : 1, 2, 3, ... (if you want to keep integers)

Tools included are :

- **Form field type** : Choices list which allows you to choose among label types to convert to
- **Service** to convert in your controllers
- **Twig filter** to convert integers in your templates

Installation
------------

[](#installation)

\### Install GpatonLabelConverterBundle

Simply run assuming you have installed composer.phar or composer binary:

```
$ php composer.phar require gpaton/labelconverter-bundle 1.0.*

```

\### Enable the bundle

Finally, enable the bundle in the kernel:

```
