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

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

dimaslanjaka/currency-converter
===============================

PHP Currency Converter tools, based extending of php-curl-class.

205[1 PRs](https://github.com/dimaslanjaka/currency-converter/pulls)PHPCI failing

Since Mar 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/dimaslanjaka/currency-converter)[ Packagist](https://packagist.org/packages/dimaslanjaka/currency-converter)[ RSS](/packages/dimaslanjaka-currency-converter/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

currency-converter
==================

[](#currency-converter)

Currency Converter Tools

Get Script Project
==================

[](#get-script-project)

```
git clone https://github.com/dimaslanjaka/currency-converter.git
```

### Requirement Build

[](#requirement-build)

[Composer](https://getcomposer.org/download/)

### Build

[](#build)

```
composer install
```

### EXAMPLE -&gt; Access Folder Test

[](#example---access-folder-test)

### Usage

[](#usage)

```
require __DIR__.'/vendor/autoload.php'; //your vendor autoload.php
use \Curl\CC;

// Object Oriented
$c = new CC();
$c->set('USD');
$c->build()->get_data();

// ... Chaining Oriented Method
$c = new CC()->set('USD')->build()->get_data();
```

### Description

[](#description)

```
//your vendor autoload.php
require __DIR__.'/vendor/autoload.php';

//Use Class
use \Curl\CC;

//Initialize Currency Converter Class
$c = new CC();

//Set Source Currency
$c->set('USD'); // Set source currency from USD

//Build Repo
$c->build();

//Get Data repo
$c->get_data();

//Converting to available Currency
$c->convert(1, 'EUR'); //convert 1 USD to EUR

//Refresh Repo
$c->refresh();

//Get Available Currency Converter For Source Currency
$c->available();

//Get Result
echo $c->__toString();
```

Install Currency-Converter On termux
====================================

[](#install-currency-converter-on-termux)

```
#!/data/data/com.termux/files/usr/bin/sh
pkg up -y
pkg install curl php git -y
#begin install Composer

curl -sS https://getcomposer.org/installer | php -- --install-dir=/data/data/com.termux/files/usr/bin --filename=composer

#verify Composer
composer

#Clone Currency Converter

git clone https://github.com/dimaslanjaka/currency-converter.git

#cd folder currency-converter
cd currency-converter

#Install library
composer install

#Run currency Converter
php -S localhost:8000

#open browser http://localhost:8000/test
#for out from termux php server
#CTRL+C on your termux tab runner
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12471057?v=4)[Dimas Lanjaka](/maintainers/dimaslanjaka)[@dimaslanjaka](https://github.com/dimaslanjaka)

---

Top Contributors

[![dimaslanjaka](https://avatars.githubusercontent.com/u/12471057?v=4)](https://github.com/dimaslanjaka "dimaslanjaka (199 commits)")

### Embed Badge

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

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

###  Alternatives

[ralphjsmit/laravel-seo

A package to handle the SEO in any Laravel application, big or small.

841433.3k21](/packages/ralphjsmit-laravel-seo)

PHPackages © 2026

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