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

ActiveLibrary

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 today

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)
```

PHPackages © 2026

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