{"id":13518790,"url":"https://github.com/radicalloop/eodhistoricaldata","last_synced_at":"2026-01-11T13:43:39.473Z","repository":{"id":27354195,"uuid":"113576593","full_name":"radicalloop/eodhistoricaldata","owner":"radicalloop","description":"EOD Historical Data API Client Wrapper (Financial and Stock Market API) for Laravel/PHP","archived":false,"fork":false,"pushed_at":"2024-10-15T10:15:59.000Z","size":48,"stargazers_count":20,"open_issues_count":0,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-15T12:12:20.341Z","etag":null,"topics":["exchange-api","laravel","php","stocks-api"],"latest_commit_sha":null,"homepage":"https://eodhistoricaldata.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/radicalloop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-08T13:20:46.000Z","updated_at":"2024-10-15T10:14:45.000Z","dependencies_parsed_at":"2024-08-06T07:59:35.440Z","dependency_job_id":null,"html_url":"https://github.com/radicalloop/eodhistoricaldata","commit_stats":{"total_commits":28,"total_committers":7,"mean_commits":4.0,"dds":0.3571428571428571,"last_synced_commit":"2b60bc7a297e4d1e28f5b0901355b440e1e4b7e4"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radicalloop%2Feodhistoricaldata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radicalloop%2Feodhistoricaldata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radicalloop%2Feodhistoricaldata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radicalloop%2Feodhistoricaldata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radicalloop","download_url":"https://codeload.github.com/radicalloop/eodhistoricaldata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222658880,"owners_count":17018628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exchange-api","laravel","php","stocks-api"],"created_at":"2024-08-01T05:01:49.137Z","updated_at":"2026-01-11T13:43:39.421Z","avatar_url":"https://github.com/radicalloop.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# EOD Historical Data API Client Wrapper for Laravel/PHP\n\n[![Build Status](https://travis-ci.org/radicalloop/eodhistoricaldata.svg?branch=master)](https://travis-ci.org/radicalloop/eodhistoricaldata)\n[![Latest Stable Version](https://poser.pugx.org/radicalloop/eodhistoricaldata/v/stable)](https://packagist.org/packages/radicalloop/eodhistoricaldata)\n[![Total Downloads](https://poser.pugx.org/radicalloop/eodhistoricaldata/downloads)](https://packagist.org/packages/radicalloop/eodhistoricaldata)\n[![License](https://poser.pugx.org/radicalloop/eodhistoricaldata/license)](https://packagist.org/packages/radicalloop/eodhistoricaldata)\n\n## Installation\nTo install this package via the `composer require` command:\n\n```bash\n$ composer require radicalloop/eodhistoricaldata\n```\n\n```\n## Laravel\nNo configuration required for Laravel \u003e= 5.5+, It will use the auto-discovery function.\n\nIn Laravel \u003c= 5.4 (or if you are not using auto-discovery) register the service provider by adding it to the `providers` key in `config/app.php`. Also register the facade by adding it to the `aliases` key in `config/app.php`.\n\n```php\n'providers' =\u003e [\n    ...\n    RadicalLoop\\Eod\\EodServiceProvider::class,\n],\n\n'aliases' =\u003e [\n    ...\n    'Eod' =\u003e RadicalLoop\\Eod\\Facades\\Eod::class,\n]\n```\n## Configuration\n\nTo get started, you'll need to publish all vendor assets:\n\n```bash\n$ php artisan vendor:publish --provider=\"RadicalLoop\\Eod\\EodServiceProvider\"\n```\n\nThis will create a `config/eod.php` file in your app that you can modify to set your configuration.\n\nSet your Eod historical data API token in the file:\n\n```bash\nreturn [\n    'api_token' =\u003e 'put your token here'\n];\n```\n\n## Usage\n\nHere you can see an example of just how simple this package is to use.\n\n### Stocks API\n```php\nuse Eod;\n\n$stock = Eod::stock();\n\n// JSON \n$stock-\u003erealTime('AAPL.US')-\u003ejson();\n$stock-\u003eeod('AAPL.US')-\u003ejson();\n\n// Download CSV \n$stock-\u003erealTime('AAPL.US' ['s' =\u003e ['VTI','EUR','FX']])-\u003edownload();\n$stock-\u003eeod('AAPL.US')-\u003edownload();\n\n// Save CSV to specific path\n$stock-\u003erealTime('AAPL.US')-\u003esave('path/to/save/csv/stock.csv');\n\n// For other parameters, for ex. dividend api with other params\n$stock-\u003edividend('AAPL.US', ['from' =\u003e '2017-01-01'])-\u003ejson();\n```\nTo check other Stock API usages, refer [Test Cases](tests/StockTest.php) here.\n\n### Exchanges API\n```php\nuse Eod;\n\n$exchange = Eod::exchange();\n\n// JSON \n$exchange-\u003esymbol('US')-\u003ejson();\n$exchange-\u003emultipleTicker('US')-\u003ejson();\n$exchange-\u003edetails('US')-\u003ejson();\n\n// Download CSV \n$exchange-\u003esymbol('US')-\u003edownload();\n$exchange-\u003emultipleTicker('US')-\u003edownload();\n\n// Save CSV to specific path\n$exchange-\u003esymbol('US')-\u003esave('path/to/save/csv/stock.csv');\n```\nTo check other Exchanges API usages, refer [Test Cases](tests/ExchangeTest.php) here.\n\n## PHP\nFor PHP you can create an object like below.\n\n```php\nuse RadicalLoop\\Eod\\Config;\nuse RadicalLoop\\Eod\\Eod;\n\n$stock    = (new Eod(new Config($apiToken)))-\u003estock();\n$exchange = (new Eod(new Config($apiToken)))-\u003eexchange();\n```\n\n## Support\nContact: [www.radicalloop.com](https://www.radicalloop.com) — hello@radicalloop.com\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradicalloop%2Feodhistoricaldata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradicalloop%2Feodhistoricaldata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradicalloop%2Feodhistoricaldata/lists"}