PHPackages                             bcc/extra-tools-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. [Localization &amp; i18n](/categories/localization)
4. /
5. bcc/extra-tools-bundle

ActiveSymfony-bundle[Localization &amp; i18n](/categories/localization)

bcc/extra-tools-bundle
======================

A set of extra tools in a bundle for Symfony2: a translation extractor, a locale date parser/formatter, a unit converter...

v1.0(13y ago)9359.0k16[1 issues](https://github.com/michelsalib/BCCExtraToolsBundle/issues)PHPPHP &gt;=5.3.2

Since Jul 9Pushed 13y ago9 watchersCompare

[ Source](https://github.com/michelsalib/BCCExtraToolsBundle)[ Packagist](https://packagist.org/packages/bcc/extra-tools-bundle)[ Docs](http://github.com/michelsalib/BCCExtraToolsBundle)[ RSS](/packages/bcc-extra-tools-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Intro to ExtraTools
===================

[](#intro-to-extratools)

It a bundle that contains some usefull symfony2 tools.

[![Build Status](https://camo.githubusercontent.com/79b1c01a3558f8876f23b3ecff51ef8b202cbfca60fddf1da58e1447962ed07b/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6d696368656c73616c69622f4243434578747261546f6f6c7342756e646c652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/michelsalib/BCCExtraToolsBundle)

Warning
-------

[](#warning)

The `bcc:trans:update` command had been merged into the framework and thus won't be maintained here anymore. The new name is `translation:extract`.

Features:
---------

[](#features)

- a `bcc:trans:update` command that extract all your missing i18n message from your twig templates and saves into yaml, xliff, php or pot translation files.
- a twig extension that translates dates and contries
- a date formatter that formats and translates dates and also parses multiple forms of localized date string
- a unit converter that is ignly extensible and convert units

Installation and configuration:
-------------------------------

[](#installation-and-configuration)

### Get the bundle

[](#get-the-bundle)

Add to your `/deps` file :

```
[BCCExtraToolsBundle]
    git=http://github.com/michelsalib/BCCExtraToolsBundle.git
    target=/bundles/BCC/ExtraToolsBundle

```

And make a `php bin/vendors install`.

### Register the namespace

[](#register-the-namespace)

```
