michaeldrennen / iex-trading
A PHP library to access the IEX trading API.
v3.0
2023-03-30 04:04 UTC
Requires
- php: ^7.0|^8.0
- guzzlehttp/guzzle: ^6|^7
- illuminate/support: ^6|^7|^8|^9|^10
- nesbot/carbon: ^1|^2
Requires (Dev)
- php-coveralls/php-coveralls: ^2
- phpunit/phpunit: ^7|^8|^9|^10
README
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