PHPackages                             elephpant/quotation - 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. elephpant/quotation

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

elephpant/quotation
===================

Quotation is a simple way to extract the currency situation converted for CURRENCY REAL (BRL), either on the current day or in previous periods, as well as at defined intervals. Contains a vast collection of coins to get your status for REAL (BRL).

227PHP

Since Jun 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sergiodanilojr/quotation)[ Packagist](https://packagist.org/packages/elephpant/quotation)[ RSS](/packages/elephpant-quotation/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Quotation @ElePHPant
====================

[](#quotation-elephpant)

[![Maintainer](https://camo.githubusercontent.com/7b1d28a2036b608f54a554b494e6678bbe1d58bc90f33baeb9c8ae3af0590b57/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d4073657267696f64616e696c6f6a722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/sergiodanilojr)[![Source Code](https://camo.githubusercontent.com/d4e077c18a9f80c6b63971a655caff81c5b54f7d208f962e2820b22d6ac0b4f0/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d656c65706870616e742f71756f746174696f6e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/sergiodanilojr/quotation)[![PHP from Packagist](https://camo.githubusercontent.com/7ba5a7550a96c2633ecd81688259c2376a55dc02c7cbbfddc167dd247d349d80/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f656c65706870616e742f71756f746174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elephpant/quotation)[![Latest Version](https://camo.githubusercontent.com/986028b6500add738b208006259a44f8cfc87d1d1abc80876582a5c0e9d13ce9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f656c65706870616e742f71756f746174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/sergiodanilojr/quotation/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/b64dc0a5f068203fc2613ea9e6da01810e5ff2647ce225baa1d65f3bcb26dab9/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f73657267696f64616e696c6f6a722f71756f746174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sergiodanilojr/quotation)[![Quality Score](https://camo.githubusercontent.com/18218ec3f62a0ea1b24b7bc3ba5f7ba4df552ac19b2898082144fcb6e7608158/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f73657267696f64616e696c6f6a722f71756f746174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sergiodanilojr/quotation)[![Total Downloads](https://camo.githubusercontent.com/c3c2b500bd912a68658e05b786f5379ff1131dfd81d3a5e6c04ebb902670b329/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c65706870616e742f71756f746174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/elephpant/quotation)

###### Quotation is a simple way to extract the currency situation converted for CURRENCY REAL (BRL), either on the current day or in previous periods, as well as at defined intervals. Contains a vast collection of coins to get your status for REAL (BRL).

[](#quotation-is-a-simple-way-to-extract-the-currency-situation-converted-for-currency-real-brl-either-on-the-current-day-or-in-previous-periods-as-well-as-at-defined-intervals-contains-a-vast-collection-of-coins-to-get-your-status-for-real-brl)

Quotation é uma forma simples de extrair a situação da moeda, seja no dia corrente ou em períodos anteriores, bem como em intervalos definidos. Contém uma vasta coleção de moedas para poder obter o seu status e converter para o REAL (BRL).

NOTE: This component consumes the API of Currency Quotation from AwesomeAPI ()
---------------------------------------------------------------------------------------------------------

[](#note-this-component-consumes-the-api-of-currency-quotation-from-awesomeapi-httpsawesomeapicombr)

NOTA: Este componente consome a API de Cotação de Moedas da AwesomeAPI ()

### Highlights

[](#highlights)

- Extremaly Easy
- Supports several Currencies
- Flexible
- Composer ready and PSR-2 compliant (Pronto para o composer e compatível com PSR-2)

### Currencies (moedas)

[](#currencies-moedas)

- USD-BRL (Dólar Comercial)
- USDT-BRL (Dólar Turismo)
- CAD-BRL (Dólar Canadense)
- AUD-BRL (Dólar Australiano)
- EUR-BRL (Euro)
- GBP-BRL (Libra Esterlina)
- ARS-BRL (Peso Argentino)
- JPY-BRL (Iene Japonês)
- CHF-BRL (Franco Suíço)
- CNY-BRL (Yuan Chinês)
- YLS-BRL (Novo Shekel Israelense)
- BTC-BRL (Bitcoin)
- LTC-BRL (Litecoin)
- ETH-BRL (Ethereum)
- XRP-BRL (Ripple)

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

[](#installation)

Quotation is available via Composer:

```
"elephpant/quotation": "*"
```

or run

```
composer require elephpant/quotation
```

Documentation
-------------

[](#documentation)

###### For details on how to use, see a sample folder in the component directory. In it you will have an example of use for each class. It works like this:

[](#for-details-on-how-to-use-see-a-sample-folder-in-the-component-directory-in-it-you-will-have-an-example-of-use-for-each-class-it-works-like-this)

Para mais detalhes sobre como usar, veja uma pasta de exemplo no diretório do componente. Nela terá um exemplo de uso para cada classe. Ele funciona assim:

#### There's one specific Class for each Currency.

[](#theres-one-specific-class-for-each-currency)

```
