PHPackages                             morbicer/converter-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. morbicer/converter-bundle

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

morbicer/converter-bundle
=========================

Currency converting bundle for Symfony2. Supports multiple exchange rate providers.

0.0.1(10y ago)4181MITPHP

Since Sep 9Pushed 10y ago1 watchersCompare

[ Source](https://github.com/morbicer/converter-bundle)[ Packagist](https://packagist.org/packages/morbicer/converter-bundle)[ RSS](/packages/morbicer-converter-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

converter-bundle
================

[](#converter-bundle)

Currency converting bundle for Symfony2. Supports multiple exchange rate providers:

- Yahoo (free)
- Google (free)
- Currency API (free)
- chain (tries multiple if some is unavailable)

proper money handling using Martin Fowler's Money pattern implemented by [mathiasverraes/money](https://github.com/mathiasverraes/money)

1 Installation
--------------

[](#1-installation)

### 1.1 Composer

[](#11-composer)

```
"require": {
  ....
  "morbicer/converter-bundle": "dev"
},
```

or

```
php composer.phar require morbicer/converter-bundle

```

### 1.2 Enable the bundle

[](#12-enable-the-bundle)

```
// app/AppKernel.php
public function registerBundles()
{
      $bundles = array(
        // ...
        new Morbicer\ConverterBundle\MorbicerConverterBundle(),
    );
}
```

### 1.3 Add config

[](#13-add-config)

```
# app/config.yml
morbicer_converter:
  default_provider: chain
  providers:
      yahoo: []
      google: []
      currency_api: []
      chain: [yahoo, currency_api, google]
```

Usage
-----

[](#usage)

```
//in controller, get service
$converter = $this->get('morbicer_converter.convert');
// $100 USD to EUR
$converted = $converter->convert(100, 'USD', 'EUR');
$result = array(
    'amount' => $converted->getAmount()/100,
    'currency' => (string)$converted->getCurrency(),
);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3904d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/38de3c32b46833e27efa3553b7522eb8b208961d2400c6a672057cb52b9a7e4b?d=identicon)[morbicer](/maintainers/morbicer)

---

Top Contributors

[![morbicer](https://avatars.githubusercontent.com/u/5342020?v=4)](https://github.com/morbicer "morbicer (3 commits)")

### Embed Badge

![Health badge](/badges/morbicer-converter-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/morbicer-converter-bundle/health.svg)](https://phpackages.com/packages/morbicer-converter-bundle)
```

###  Alternatives

[winzou/state-machine-bundle

Bundle for the very lightweight yet powerful PHP state machine

34010.4M15](/packages/winzou-state-machine-bundle)[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[sylius/taxonomy-bundle

Flexible categorization system for Symfony.

26388.2k7](/packages/sylius-taxonomy-bundle)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[sylius/addressing-bundle

Addressing and zone management for Symfony applications.

33221.4k3](/packages/sylius-addressing-bundle)[sylius/inventory-bundle

Flexible inventory management for Symfony applications.

19176.7k4](/packages/sylius-inventory-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
