EOD Historical Data API Client Wrapper (Financial and Stock Market API) for Laravel/PHP.

You can find the Wrapper on Github page: https://github.com/radicalloop/eodhistoricaldata.

Features

  • Easy installation with Composer
  • No configuration required for Laravel >= 5.5+, It will use the auto-discovery function.
  • Easy to use

Stocks API Example

use Eod;

$stock = Eod::stock();

// JSON 
$stock->realTime('AAPL.US')->json();
$stock->eod('AAPL.US')->json();

// Download CSV 
$stock->realTime('AAPL.US' ['s' => ['VTI','EUR','FX']])->download();
$stock->eod('AAPL.US')->download();

// Save CSV to specific path
$stock->realTime('AAPL.US')->save('path/to/save/csv/stock.csv');

// For other parameters, for ex. dividend api with other params
$stock->dividend('AAPL.US', ['from' => '2017-01-01'])->json();

Exchanges API Example

use Eod;

$exchange = Eod::exchange();

// JSON 
$exchange->symbol('US')->json();
$exchange->multipleTicker('US')->json();

// Download CSV 
$exchange->symbol('US')->download();
$exchange->multipleTicker('US')->download();

// Save CSV to specific path
$exchange->symbol('US')->save('path/to/save/csv/stock.csv');

You can find more on Github page: https://github.com/radicalloop/eodhistoricaldata.

Thanks to RadicalLoop for it!

Sign up & Get Data