fjescala/centralbank

package to extract the price of the different currencies by the central bank

Maintainers

Package info

gitlab.com/fjescala/ve-central-bank-exchange

Issues

Type:package

pkg:composer/fjescala/centralbank

Statistics

Installs: 7

Dependents: 0

Suggesters: 0

Stars: 0

dev-main 2022-09-07 15:04 UTC

This package is not auto-updated.

Last update: 2026-03-19 11:47:29 UTC


README

package to extract the price of the different currencies by the central bank of Venezuela

Installation

composer require fjescala/centralbank

Uso

Here is a little example:

use Fjescala\CentralBank\CentralBankManager as CentralBank; // at the top of the file

  public function __construct(CentralBank $central)
    {
        $this->central = $central;

 
    }

      public function index()
    {
        $amountInBolivares = $this->central->getCurrency("dolar");
        $amountInBolivares = $this->central->getCurrency("rublo");
        $amountInBolivares = $this->central->getCurrency("lira");
        $amountInBolivares = $this->central->getCurrency("yuan");
        $amountInBolivares = $this->central->getCurrency("euro");
       

      
    }