dprmc/iex-trading

A PHP library to access the IEX trading API.

v1.0.9 2018-10-17 16:37 UTC

This package is auto-updated.

Last update: 2024-12-21 21:14:35 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

PHP library that provides access to the iextrading.com API.

Usage

Quote

// https://iextrading.com/developer/docs/#quote 
$stockQuote = IEXTrading::stockQuote( 'aapl' );
echo $stockQuote->companyName; // Apple Inc.

Key Stats

// https://iextrading.com/developer/docs/#key-stats
$stockStats = IEXTrading::stockStats( 'aapl' );
echo $stockStats->marketcap; // 760334287200