dprmc / iex-trading
A PHP library to access the IEX trading API.
Installs: 1 087
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 5
Forks: 2
Open Issues: 4
Requires
- guzzlehttp/guzzle: ^6.3
- illuminate/support: 4.2.22
- nesbot/carbon: ^1.22
Requires (Dev)
- phpunit/phpunit: ^5.7
README
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