PHPackages                             brunoinds/paraguay-dolar-laravel - 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. brunoinds/paraguay-dolar-laravel

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

brunoinds/paraguay-dolar-laravel
================================

v2.0.0(8mo ago)0386MITPHP

Since Mar 21Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/brunoinds/paraguay-dolar-laravel)[ Packagist](https://packagist.org/packages/brunoinds/paraguay-dolar-laravel)[ RSS](/packages/brunoinds-paraguay-dolar-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

PHP Paraguay Dolar Currency Exchange
====================================

[](#php-paraguay-dolar-currency-exchange)

A simple PHP library for exchanging currencies based on bcp.gov.py

[![Total Downloads](https://camo.githubusercontent.com/da4968e2adff5bff00b46e711a1bac890d15c22cbc104b83f8d58ed08b3ba42e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6272756e6f696e64732f70617261677561792d646f6c61722d6c61726176656c)](https://packagist.org/packages/brunoinds/paraguay-dolar-laravel)[![Latest Stable Version](https://camo.githubusercontent.com/e29d7c8941e3d6446f0cbb009a44736f7de1bb97a3a1f8f3eca8430b5266771b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6272756e6f696e64732f70617261677561792d646f6c61722d6c61726176656c)](https://packagist.org/packages/brunoinds/paraguay-dolar-laravel)[![License](https://camo.githubusercontent.com/bcf21cd0a89f08bcec5a20578359fc200f18dfac939c5a5ffd92984dc2dc3efb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6272756e6f696e64732f70617261677561792d646f6c61722d6c61726176656c)](https://packagist.org/packages/brunoinds/paraguay-dolar-laravel)

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

[](#installation)

Install via Composer:

```
composer require brunoinds/paraguay-dolar-laravel
```

Usage
-----

[](#usage)

The `Exchange` class provides methods for exchanging between PYG and USD:

```
use Brunoinds\ParaguayDolarLaravel\Exchange;
use Brunoinds\ParaguayDolarLaravel\Enums\Currency;

// Get current exchange rate
$result = Exchange::now()->convert(Currency::USD, 1)->to(Currency::PYG);

// Get historical exchange rate
$date = new DateTime('2023-12-10');
$result = Exchange::on($date)
                ->convert(Currency::USD, 1)
                ->to(Currency::PYG);
echo $result // 0.27
```

The `Currency` enum provides constants for the supported currencies:

```
use Brunoinds\ParaguayDolarLaravel\Enums\Currency;

Currency::USD;
Currency::PYG;
```

Testing
-------

[](#testing)

Unit tests are located in the `tests` directory. Run tests with:

```
composer test

```

Contributing
------------

[](#contributing)

Pull requests welcome!

License
-------

[](#license)

MIT License

Powered by:
-----------

[](#powered-by)

- [API bcp.gov.py](https://www.bcp.gov.py/webapps/web/cotizacion/monedas)

Let me know if you would like any sections expanded or have any other feedback!

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance60

Regular maintenance activity

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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.

###  Release Activity

Cadence

Every ~176 days

Total

4

Last Release

252d ago

Major Versions

v1.1.0 → v2.0.02025-09-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/54acc3d3fd4f73272aaec761ab85bf40397736e250431ec7c1cb34de791e9f18?d=identicon)[brunoinds](/maintainers/brunoinds)

---

Top Contributors

[![brunoinds](https://avatars.githubusercontent.com/u/49789611?v=4)](https://github.com/brunoinds "brunoinds (5 commits)")

### Embed Badge

![Health badge](/badges/brunoinds-paraguay-dolar-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/brunoinds-paraguay-dolar-laravel/health.svg)](https://phpackages.com/packages/brunoinds-paraguay-dolar-laravel)
```

PHPackages © 2026

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