PHPackages                             oneforge/forexquotes - 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. oneforge/forexquotes

ActiveLibrary[API Development](/categories/api)

oneforge/forexquotes
====================

Library to fetch and parse realtime Forex quotes and convert currencies

6.1.2(3y ago)7312.7k14[2 issues](https://github.com/1Forge/php-forex-quotes/issues)1MITPHPPHP &gt;=5.6.4CI failing

Since Jun 3Pushed 3y ago11 watchersCompare

[ Source](https://github.com/1Forge/php-forex-quotes)[ Packagist](https://packagist.org/packages/oneforge/forexquotes)[ Docs](http://1forge.com)[ RSS](/packages/oneforge-forexquotes/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (2)Versions (20)Used By (1)

php-forex-quotes
================

[](#php-forex-quotes)

php-forex-quotes is a 1Forge PHP Library for fetching realtime forex quotes. See the examples for REST and WebSocket implementation in the [/examples](https://github.com/1Forge/php-forex-quotes/tree/master/examples) folder.

[![1Forge Data](https://camo.githubusercontent.com/95da1478a3aac97acb06a79745cfbb6ced2efe9c26895aa2e4020e0c83fcf42e/68747470733a2f2f31666f7267652e636f6d2f696d616765732f31666f7267652e676966)](#)

Table of Contents
=================

[](#table-of-contents)

- [Requirements](#requirements)
- [Installation](#installation)
- [Usage](#usage)
    - [List of Symbols available](#get-the-list-of-available-symbols)
    - [Get quotes for specific symbols](#get-quotes-for-specified-symbols)
    - [Convert from one currency to another](#convert-from-one-currency-to-another)
    - [Check if the market is open](#check-if-the-market-is-open)
    - [Stream quote updates via WebSocket](#stream-quote-updates)
- [Contributing](#contributing)
- [Support / Contact](#support-and-contact)
- [License / Terms](#license-and-terms)

Requirements
------------

[](#requirements)

- PHP &gt;= 6.0.1
- An API key which you can obtain for free at

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

[](#installation)

```
composer require oneforge/forexquotes

```

Or in your composer.json

```
"require": {
    "oneforge/forexquotes": "~6.0"
},
```

Usage
-----

[](#usage)

### Instantiate the client

[](#instantiate-the-client)

```
