michaeldrennen/iex-trading

A PHP library to access the IEX trading API.

Installs: 1 050

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 2

pkg:composer/michaeldrennen/iex-trading

v3.0 2023-03-30 04:04 UTC

This package is auto-updated.

Last update: 2025-09-29 02:02:32 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

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

A fork from my original library.

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