PHPackages                             tawba/currency-converter - 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. tawba/currency-converter

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

tawba/currency-converter
========================

Currency Converter

v1.7(9y ago)10822MITPHPPHP &gt;=5.6.4

Since Jan 17Pushed 9y ago2 watchersCompare

[ Source](https://github.com/omartawba1/currency_converter)[ Packagist](https://packagist.org/packages/tawba/currency-converter)[ RSS](/packages/tawba-currency-converter/feed)WikiDiscussions master Synced 2mo ago

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

Description
-----------

[](#description)

Currency converter package helps you to easily convert any amount from specific currency to another one.

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

[](#installation)

Using Composer :

```
composer install

```

Or you can do

```
composer require tawba/currency-converter

```

If you don't have composer, you can get it from [Composer](https://getcomposer.org/)

Run the application
-------------------

[](#run-the-application)

```
php index.php list
php index.php convert

```

Usage
-----

[](#usage)

```
use Tawba\CurrencyConverter\ConverterService;

$from_currency = "USD";
$to_currency   = "EGP";
$amount        = 1000;

$converter = new ConverterService(); // You can pass "google" or "yahoo" as a service API
echo $converter->convert($from_currency, $to_currency, $amount);

```

You can test it by changing $from\_currency, $to\_currency, and $amount that exist inside index.php file

Notice: This package uses Google or Yahoo currency converter API.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 70.6% 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

8

Last Release

3398d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/007d6c6cb74a326c59b529b136daa28a31e59c5cff1f68752a92bd8538f9a61f?d=identicon)[omartawba1](/maintainers/omartawba1)

---

Top Contributors

[![omartawba1](https://avatars.githubusercontent.com/u/15249962?v=4)](https://github.com/omartawba1 "omartawba1 (12 commits)")[![FooBarQuaxx](https://avatars.githubusercontent.com/u/2607178?v=4)](https://github.com/FooBarQuaxx "FooBarQuaxx (5 commits)")

---

Tags

composercurrency-converterphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tawba-currency-converter/health.svg)

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

###  Alternatives

[jackiedo/dotenv-editor

The .env file editor tool for Laravel 5.8+

2041.2M31](/packages/jackiedo-dotenv-editor)[johnbillion/wp-crontrol

Take control of the cron events on your WordPress website or WooCommerce store

22381.4k1](/packages/johnbillion-wp-crontrol)

PHPackages © 2026

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