PHPackages                             bigoen/currency-api-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. [API Development](/categories/api)
4. /
5. bigoen/currency-api-bundle

ActiveSymfony-bundle[API Development](/categories/api)

bigoen/currency-api-bundle
==========================

Currency api bundle for Symfony project.

v1.0.4(1y ago)1167LGPL-3.0PHPPHP &gt;=8.2

Since Oct 15Pushed 1y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (5)Versions (6)Used By (0)

Currency Api Bundle
===================

[](#currency-api-bundle)

This Symfony bundle provides integration with the Currency Beacon API, allowing you to fetch and manage currency data within your Symfony application.

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

[](#installation)

1. Install the bundle using Composer:

```
composer require bigoen/currency-api-bundle
```

2. Enable the bundle in your `config/bundles.php` file:

```
return [
    // ...
    Bigoen\CurrencyApiBundle\BigoenCurrencyApiBundle::class => ['all' => true],
];
```

Configuration
-------------

[](#configuration)

Add the following environment variables to your `.env` file:

```
###> bigoen/currency-api-bundle ###
CURRENCY_BEACON_API_KEY=your_api_key_here
###< bigoen/currency-api-bundle ###
```

Usage
-----

[](#usage)

To use the Currency API service, you can inject it into your services or use it manually:

Commands
--------

[](#commands)

This bundle provides commands to manage currency data:

- To update currencies, use:

    ```
    php bin/console exchange-rate:currency-beacon:currency-update
    ```
- To fetch the latest or historical daily exchange rates, use:

    ```
    php bin/console exchange-rate:currency-beacon:daily-update
    ```

Alternatively, you can use the `CurrencyBeaconService` directly in your code:

- To update currencies manually, use the `updateCurrencies` method:

    ```
    $currencyBeaconService->updateCurrencies();
    ```
- To update daily exchange rates manually, use the `updateDailyExchangeRates` method:

    ```
    $currencyBeaconService->updateDailyExchangeRates();
    ```

To query daily exchange rates by date and currency, you can use the `DailyExchangeRateRepository`:

- Example query: ```
    $repository = $entityManager->getRepository(DailyExchangeRate::class);
    $exchangeRate = $repository->findOneBy(['date' => $date, 'currency' => $currency]);
    $amount = $repository->convert('TRY', 'EUR', Carbon::now(), 500);
    ```

License
-------

[](#license)

This bundle is released under the MIT License. See the bundled `LICENSE` file for details.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Every ~7 days

Total

5

Last Release

550d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/31c1e45d3cd4e89a2120116d8b72bb5111cd1d01914b42cf6b56d5619662e5ea?d=identicon)[safak](/maintainers/safak)

---

Top Contributors

[![safaksaylam](https://avatars.githubusercontent.com/u/6529993?v=4)](https://github.com/safaksaylam "safaksaylam (11 commits)")

### Embed Badge

![Health badge](/badges/bigoen-currency-api-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/bigoen-currency-api-bundle/health.svg)](https://phpackages.com/packages/bigoen-currency-api-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)

PHPackages © 2026

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