PHPackages                             biller/bcu - 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. biller/bcu

ActiveLibrary[API Development](/categories/api)

biller/bcu
==========

Adaptador de WebServices del BCU para PHP

3.0.0(1y ago)12186.4k5MITPHPPHP ^8.2CI passing

Since Feb 7Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/biller/bcu)[ Packagist](https://packagist.org/packages/biller/bcu)[ RSS](/packages/biller-bcu/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (13)Used By (0)

 [ ![Biller - facturación electrónica](https://camo.githubusercontent.com/d4fc426d258102fa37f02d8503f5e7f0101571005527f433b4d59e0fa9468ebb/68747470733a2f2f62696c6c65722e75792f696d616765732f6c6f676f2f6c6f676f5f62696c6c65722e737667) ](https://www.biller.uy)

Adaptador de WebServices del BCU para PHP
=========================================

[](#adaptador-de-webservices-del-bcu-para-php)

Herramienta para obtener la cotización oficial de distintas monedas extraídas del WebService del [Banco Central del Uruguay](http://www.bcu.gub.uy/).

Los WebServices utilizados son [awsbcucotizaciones](https://cotizaciones.bcu.gub.uy/wscotizaciones/servlet/awsbcucotizaciones?wsdl) y [awsultimocierre](https://cotizaciones.bcu.gub.uy/wscotizaciones/servlet/awsultimocierre?wsdl).

La documentación oficial de los WebServices [puede ser encontrada aquí](https://www.scribd.com/document/371380764/Especificacion-WS-Cotizaciones).

Instalación
-----------

[](#instalación)

La mejor forma de utilizar este plugin es a través del plugin [composer](http://getcomposer.org/download/).

```
composer require biller/bcu

```

Uso
---

[](#uso)

Luego de su instalación, se utiliza el método `obtenerCotizacion` que devolverá la última cotización de cierre para el dolar interbancario billete.

También se puede obtener la fecha del último cierre a través del llamado al método `obtenerUltimoCierre`.

### Obtener cotización

[](#obtener-cotización)

```
// Dólar interbancario para el último día de cierre
biller\bcu\Cotizaciones::obtenerCotizacion();
```

```
// Dólar interbancario para el 01-ene-2018
biller\bcu\Cotizaciones::obtenerCotizacion('2018-01-01');
```

```
// Dólar interbancario para el 01-ene-2018
biller\bcu\Cotizaciones::obtenerCotizacion('2018-01-01', 2225);
```

El tercer parámetro indica el Grupo de Monedas.
Grupo 1: Mercado Internacional
Grupo 2: Cotizaciones Locales
Grupo 0: ambos grupos

```
// Euro para ambos Grupos de Monedas para el 01-ene-2018
biller\bcu\Cotizaciones::obtenerCotizacion('2018-01-01', 1111, 0);
```

### Obtener último cierre

[](#obtener-último-cierre)

```
biller\bcu\Cotizaciones::obtenerUltimoCierre();
```

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance55

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 87.1% 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 ~210 days

Recently: every ~365 days

Total

12

Last Release

713d ago

Major Versions

0.1.8 → 1.0.02020-06-03

1.0.2 → 2.0.02022-02-12

2.0.1 → 3.0.02024-06-05

PHP version history (3 changes)0.1.3PHP ~7.0

2.0.1PHP ^7.4|^8.0

3.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d6b24a30203ffe182450a393ca15df6c49139a5d31a948126c7833aac2cd431?d=identicon)[juanisorondo](/maintainers/juanisorondo)

---

Top Contributors

[![juanisorondo](https://avatars.githubusercontent.com/u/9666184?v=4)](https://github.com/juanisorondo "juanisorondo (27 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![JoaquinRuiz7](https://avatars.githubusercontent.com/u/47424155?v=4)](https://github.com/JoaquinRuiz7 "JoaquinRuiz7 (1 commits)")[![maxalegre](https://avatars.githubusercontent.com/u/8438705?v=4)](https://github.com/maxalegre "maxalegre (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/biller-bcu/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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