PHPackages                             fahamidul/currency-exchange-converter-package - 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. fahamidul/currency-exchange-converter-package

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

fahamidul/currency-exchange-converter-package
=============================================

A laravel currency converter

v0.1.4(2y ago)03MITPHPPHP &gt;=8.2

Since Mar 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Aoyon123/Laravel-Currency_Converter)[ Packagist](https://packagist.org/packages/fahamidul/currency-exchange-converter-package)[ Docs](https://github.com/Aoyon123/Laravel-Currency_Converter)[ RSS](/packages/fahamidul-currency-exchange-converter-package/feed)WikiDiscussions main Synced 1mo ago

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

Laravel-Currency\_Converter
===========================

[](#laravel-currency_converter)

Currency Exchange Package for Laravel
-------------------------------------

[](#currency-exchange-package-for-laravel)

This package provides a convenient way to integrate daily currency exchange rate functionality into your Laravel application. It fetches rates from the European Central Bank (ECB) and offers an API endpoint for conversion.

Install the package:

```
composer require fahamidul/currency-exchange-converter-package
```

Usage:
------

[](#usage)

API Endpoint The package might expose an API endpoint (e.g., /api/exchange-rate) for retrieving exchange rates. Refer to the specific package documentation for details on available endpoints, parameters, and responses. amount and currency comes from the api end point.

\##Using from Controller: Example Usage in a Controller

```
namespace App\Http\Controllers;
use CurrencyExchange\CurrencyExchange;
use Illuminate\Http\Request;

class MyController extends Controller
{
    public function convertCurrency(Request $request)
    {
        $amount = $request->input('amount');
        $currency = $request->input('currency', 'EUR');

        $currencyExchange = app(CurrencyExchange::class);

        try {
            $result = $currencyExchange->getExchangeRate($amount, $currency);
            return response()->json($result);
        } catch (\Exception $e) {
            return response()->json(['error' => $e->getMessage()], 400);
        }
    }
}
```

Publish the configuration file:
-------------------------------

[](#publish-the-configuration-file)

```
php artisan vendor:publish --provider="CurrencyExchange\CurrencyExchangeServiceProvider"
```

Contributions
-------------

[](#contributions)

You're open to create any pull request.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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 ~0 days

Total

5

Last Release

790d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7435dd93d8a3b25d0fa787a774464f49f1c9a5a61de5f67cbac7e82e25db6f89?d=identicon)[Aoyon123](/maintainers/Aoyon123)

---

Top Contributors

[![Aoyon123](https://avatars.githubusercontent.com/u/49103044?v=4)](https://github.com/Aoyon123 "Aoyon123 (10 commits)")

---

Tags

laravellaravel\_currency\_exchangelurrency\_exchange

### Embed Badge

![Health badge](/badges/fahamidul-currency-exchange-converter-package/health.svg)

```
[![Health](https://phpackages.com/badges/fahamidul-currency-exchange-converter-package/health.svg)](https://phpackages.com/packages/fahamidul-currency-exchange-converter-package)
```

###  Alternatives

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[gehrisandro/tailwind-merge-laravel

TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them

341682.2k18](/packages/gehrisandro-tailwind-merge-laravel)[backpack/basset

Dead-simple way to load CSS or JS assets only once per page, when using Laravel 10+.

202832.4k6](/packages/backpack-basset)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)

PHPackages © 2026

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