Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

1 Commit

Repository files navigation

Dollar to Rial exchanger

Collect dollar rate from various sources like:

Installation

Simply enter composer require lostkoder/exchanger in terminal.

Quick Start

<?php$provider = new \Exchanger\ProviderChain([
new \Exchanger\Source\OXEProvider(),
new \Exchanger\Source\IranjibProvider(),
new \Exchanger\Source\TGJUProvider(),
]);
$rate = $provider->getRate();

Custom Rate Providers

Create a provider class which implements DollarToRialRateProvider interface and plug it in ProviderChain mentioned in quick start.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages