PHPackages                             gufy/currency - 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. gufy/currency

ActiveLibrary[API Development](/categories/api)

gufy/currency
=============

Currency API (currently OpenExchangeRate) Wrapper for PHP

v1.0.0(10y ago)036MITPHP

Since Jun 10Pushed 10y agoCompare

[ Source](https://github.com/mgufrone/php-currency)[ Packagist](https://packagist.org/packages/gufy/currency)[ RSS](/packages/gufy-currency/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Currency API Wrapper for API
============================

[](#currency-api-wrapper-for-api)

[![Build Status](https://camo.githubusercontent.com/557c4eff6679f6a3665bd461d27727eea3bd523c4f7bc2639d0ad988414b7f85/68747470733a2f2f7472617669732d63692e6f72672f6d677566726f6e652f7068702d63757272656e63792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mgufrone/php-currency)[![Coverage Status](https://camo.githubusercontent.com/c565ac348e291456950099b5e643804d12f2085b414550e1b6d3b237cd52e89f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d677566726f6e652f7068702d63757272656e63792f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/mgufrone/php-currency?branch=master)

Table of contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)

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

[](#installation)

Just run this simple command through your command line

```
composer require gufy/currency:~1
```

Or update manually your `composer.json`

```
{
  "require":{
    ...
    "gufy/currency":"~1"
    ...
  }
}
```

Usage
-----

[](#usage)

This package currently only support OpenExchangeRates as the main API.

### Getting latest currency rates

[](#getting-latest-currency-rates)

```
