andalisolutions/laravel-bnr

Web Service to retrieve the exchange rate NBR

2.0.0 2022-07-21 15:21 UTC

README

Latest Version on Packagist Tests PHPStan Total Downloads

Installation

You can install the package via composer:

composer require andalisolutions/laravel-bnr

Usage

The exchange value is in RON.

use Andali\Bnr\Bnr;


BNR::exchange('EUR')->today();
/* OR */
BNR::exchange('EUR')->in('2022-07-20')

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.