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 yesterday

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 66% 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

3448d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15249962?v=4)[Omar Tawba](/maintainers/omartawba1)[@omartawba1](https://github.com/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

[joypixels/emoji-toolkit

JoyPixels is a complete set of emoji designed for the web. The emoji-toolkit includes libraries to easily convert unicode characters to shortnames (:smile:) and shortnames to JoyPixels emoji images. PNG formats provided for the emoji images.

467868.6k7](/packages/joypixels-emoji-toolkit)[webit/eval-math

EvalMath

28895.1k7](/packages/webit-eval-math)[michalmanko/php-library-holiday

A library to calculate holidays

2180.2k1](/packages/michalmanko-php-library-holiday)[typo3/cms-introduction

The Official TYPO3 Introduction Package

1882.1k6](/packages/typo3-cms-introduction)[alt-design/alt-sitemap

Alt Sitemap addon, create a sitemap from Statamic entries

1222.1k](/packages/alt-design-alt-sitemap)

PHPackages © 2026

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