PHPackages                             aqlx86/karensi - 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. aqlx86/karensi

ActiveLibrary[API Development](/categories/api)

aqlx86/karensi
==============

PHP Library for fixer.io foreign exchange rates and currency conversion.

14.9kPHP

Since Jun 8Pushed 10y ago1 watchersCompare

[ Source](https://github.com/aqlx86/karensi)[ Packagist](https://packagist.org/packages/aqlx86/karensi)[ RSS](/packages/aqlx86-karensi/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Karensi
=======

[](#karensi)

[![Build Status](https://camo.githubusercontent.com/d683790b7e38a513c19bee8b2c62d436b1fb9c939f141fb04356cfa6e5858e0e/68747470733a2f2f7472617669732d63692e6f72672f61716c7838362f6b6172656e73692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aqlx86/karensi)

PHP Library for fixer.io foreign exchange rates and currency conversion.

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

[](#installation)

```
> composer.phar require aqlx86/karensi
> composer.phar install

```

Usage
-----

[](#usage)

Fetch all

```
$karensi  = new Karensi\Karensi('USD');
$rates = $karensi->fetch_rate();

```

Fetch specific currencies

```
$karensi  = new Karensi\Karensi('USD', ['CAD', 'PHP']);
$rates = $karensi->fetch_rate();

```

Fetch historical rates

```
$karensi  = new Karensi\Karensi('USD', ['CAD', 'PHP'], '2015-12-28');
$rates = $karensi->fetch_rate();

```

Save fetched rates in json format

```
$karensi->save('./rates/');

```

Test
----

[](#test)

```
./bin/phpspec run

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/282673?v=4)[Arnel Labarda](/maintainers/aqlx86)[@aqlx86](https://github.com/aqlx86)

---

Top Contributors

[![aqlx86](https://avatars.githubusercontent.com/u/282673?v=4)](https://github.com/aqlx86 "aqlx86 (19 commits)")

### Embed Badge

![Health badge](/badges/aqlx86-karensi/health.svg)

```
[![Health](https://phpackages.com/badges/aqlx86-karensi/health.svg)](https://phpackages.com/packages/aqlx86-karensi)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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