PHPackages                             krucas/currencyexhangebundle - 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. krucas/currencyexhangebundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

krucas/currencyexhangebundle
============================

CurrencyExchangeBundle for test task I had.

08PHP

Since Aug 28Pushed 11y agoCompare

[ Source](https://github.com/edvinaskrucas/CurrencyExchangeBundle)[ Packagist](https://packagist.org/packages/krucas/currencyexhangebundle)[ RSS](/packages/krucas-currencyexhangebundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Test Task - CurrencyExchangeBundle
==================================

[](#test-task---currencyexchangebundle)

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

[](#installation)

Just place require new package for your symfony installation via composer.json

```
"krucas/currencyexhangebundle": "dev-master"

```

Then hit `composer update`

### Register bundle in symfony2 installation

[](#register-bundle-in-symfony2-installation)

Add bundle to your bundles list

```
new Krucas\CurrencyExchangeBundle\KrucasCurrencyExchangeBundle()
```

### Available config params

[](#available-config-params)

- krucas\_currency\_exchange.class.service.rate - Rate service class name
- krucas\_currency\_exchange.class.service.manager - Rate manager class name
- krucas\_currency\_exchange.class.storage.rate - Rate storage class name
- krucas\_currency\_exchange.storage.doctrine.table - Table name for doctrine storage
- krucas\_currency\_exchange.refreshRate - Refresh rate in seconds for cache
- krucas\_currency\_exchange.providers - Rate provider class names

Usage
-----

[](#usage)

### Commands

[](#commands)

- currency:rates - Return array of rates. Accepts two params: from-currency, to-currency
- currency:rate:best - Return best rate. Accepts two params: from-currency, to-currency

### Extra

[](#extra)

To use doctrine rate storage you should import `sql/table.sql` into your configured DB.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f0802c23b9fd902a5c8a571164693f46ae1c83e0b2c470941f3ca8d5f146c41d?d=identicon)[edvinaskrucas](/maintainers/edvinaskrucas)

### Embed Badge

![Health badge](/badges/krucas-currencyexhangebundle/health.svg)

```
[![Health](https://phpackages.com/badges/krucas-currencyexhangebundle/health.svg)](https://phpackages.com/packages/krucas-currencyexhangebundle)
```

###  Alternatives

[freshbitsweb/laratables

Ajax support of DataTables for Laravel

4871.1M3](/packages/freshbitsweb-laratables)[ahand/mobileesp

Since 2008, MobileESP provides web site developers an easy-to-use and lightweight API for detecting whether visitors are using a mobile device, and if so, what kind. The APIs provide simple boolean results ('true' or 'false') for identifying individual device categories (such as iPhone, BlackBerry, Android, and Windows Mobile), device capabilities (e.g., J2ME), and broad classes of devices, such as 'iPhone Tier' (iPhone/Android/Tizen) or 'Tablet Tier.' APIs are available in PHP, JavaScript, Java, C#, Ruby Python, and more.

174491.4k7](/packages/ahand-mobileesp)

PHPackages © 2026

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