PHPackages                             mschindler83/alpha-vantage - 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. mschindler83/alpha-vantage

ActiveLibrary[API Development](/categories/api)

mschindler83/alpha-vantage
==========================

Wrapper for Alpha Vantage API

v1.0.0(6y ago)061[2 PRs](https://github.com/mschindler83/alpha-vantage/pulls)MITPHPPHP &gt;=7.4

Since Mar 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mschindler83/alpha-vantage)[ Packagist](https://packagist.org/packages/mschindler83/alpha-vantage)[ Docs](http://www.markus-schindler.de)[ RSS](/packages/mschindler83-alpha-vantage/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (4)Used By (0)

Alpha Vantage
=============

[](#alpha-vantage)

[![Build Status](https://camo.githubusercontent.com/84ed58c85937032c99c2a0a6c03e672f6784483980e3e97a8fb423487e76f38d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d736368696e646c657238332f616c7068612d76616e746167652f6d61737465722e737667)](https://travis-ci.org/mschindler83/array-access)[![Latest Stable Version](https://camo.githubusercontent.com/2fa0038c45c499c6dd1dfc1c7eaada01bb15ef117a80dcc26444a6a53f02ad45/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d736368696e646c657238332f616c7068612d76616e746167652e737667)](https://packagist.org/packages/mschindler83/array-access)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/20eb9785dd667291ed20b2a3e8c8a87fdd177b87c57e1fbc7debdb36d08270ac/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6d736368696e646c657238332f616c7068612d76616e746167652e737667)](https://scrutinizer-ci.com/g/mschindler83/array-access/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/ab708515b857f78bce9ec90513fd3bb8ee6df91ba9ed05e9e29b56a0266645e9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d736368696e646c657238332f616c7068612d76616e746167652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mschindler83/array-access/?branch=master)[![Code Intelligence Status](https://camo.githubusercontent.com/2f7ea5eb42c1a1b13662187762ec8559e239207c7d5a284e962162d263bcb590/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d736368696e646c657238332f616c7068612d76616e746167652f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)[![Monthly Downloads](https://camo.githubusercontent.com/491aa0fbe9f02fcfed8c47035b9612e6780a4ae919eb3c1293c40460b2083086/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6d736368696e646c657238332f616c7068612d76616e746167652e737667)](https://packagist.org/packages/mschindler83/array-access)

Wrapper library for the Alpha Vantage API Requires PHP &gt;= 7.4

Install
-------

[](#install)

`composer require mschindler83/alpha-vantage`

Features
--------

[](#features)

- Get forex exchange rates
- Search for symbol
- Get global quote
- \[...\] More to come soon

Usage Examples
--------------

[](#usage-examples)

### Get a client instance

[](#get-a-client-instance)

```
$alphaVantage = \Mschindler83\AlphaVantage\Client::instance($apiKey)

```

### Get forex exchange rate

[](#get-forex-exchange-rate)

```
$request = ForexExchangeRateRequest::convert('EUR', 'USD');
$exchangeRate = $alphaVantage->forexExchangeRate($request);

echo $exchangeRate->exchangeRate();

```

### Search for symbol

[](#search-for-symbol)

```
$request = SearchRequest::queryString('MSCI World');
$searchResults = $alphaVantage->search($request);

$allResultsArray = $searchResults->items();
echo $allResultsArray[0]->symbol();

```

### Get global quote

[](#get-global-quote)

```
$request = GlobalQuoteRequest::symbol('IWDA.LON');
$globalQuote = $alphaVantage->globalQuote($request);

echo $globalQuote->open();
echo $globalQuote->high();
echo $globalQuote->low();
[...]

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2252d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4042f66ed6bd2585a8f7dc0e2a0fe78a78660ea4f5b4d5ced8663272d8b0bd71?d=identicon)[mschindler83](/maintainers/mschindler83)

---

Tags

exchange-ratesforexforex-marketphp74stock-apistock-marketstocks

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mschindler83-alpha-vantage/health.svg)

```
[![Health](https://phpackages.com/badges/mschindler83-alpha-vantage/health.svg)](https://phpackages.com/packages/mschindler83-alpha-vantage)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[flix-tech/confluent-schema-registry-api

A PHP 7.4+ library to consume the Confluent Schema Registry REST API.

484.2M3](/packages/flix-tech-confluent-schema-registry-api)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
