PHPackages                             mlopez/trm - 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. mlopez/trm

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

mlopez/trm
==========

TRM Package for PHP - Colombia

v1.0.0(2y ago)02MITPHP &gt;=7.1.3

Since Dec 23Compare

[ Source](https://github.com/parrotsoft/trm)[ Packagist](https://packagist.org/packages/mlopez/trm)[ Docs](https://github.com/mlopez/trm)[ RSS](/packages/mlopez-trm/feed)WikiDiscussions Synced today

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

TRM Package for PHP
===================

[](#trm-package-for-php)

This package provides a simple way to retrieve the TRM (Tasa Representativa del Mercado) value for Colombia for a given date or the current date.

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

[](#installation)

You can install the package via Composer:

```
composer require mlopez/trm
```

Usage
-----

[](#usage)

```
use Mlopez\Trm\Trm;

$trm = new Trm();
$result = $trm->call('2023-12-31');

print_r($result);
```

License
-------

[](#license)

The TRM Package is open-sourced software licensed under the MIT license.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

922d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5cd183a5ab6a0a7891a1f7c2faa36a63049cebb1ee32e0cdc0dd6a5944ac0750?d=identicon)[mlopez](/maintainers/mlopez)

---

Top Contributors

[![parrotsoft](https://avatars.githubusercontent.com/u/5466680?v=4)](https://github.com/parrotsoft "parrotsoft (1 commits)")

---

Tags

currencyexchange ratecolombiaTRM

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mlopez-trm/health.svg)

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

###  Alternatives

[brick/money

Money and currency library

1.9k41.8M155](/packages/brick-money)[torann/currency

This provides Laravel with currency functions such as currency formatting and conversion using up-to-date exchange rates.

4031.1M6](/packages/torann-currency)[kwn/number-to-words

Multi language standalone PHP number to words converter. Fully tested, open for extensions and new languages.

4375.4M23](/packages/kwn-number-to-words)[casinelli/currency

Handles currency for Laravel 5.

1911.8k](/packages/casinelli-currency)

PHPackages © 2026

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