PHPackages                             davidgrzyb/laravel-finnhubio - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. davidgrzyb/laravel-finnhubio

ActiveLibrary

davidgrzyb/laravel-finnhubio
============================

1.0(5y ago)3821MITPHPPHP ^7.2.5CI failing

Since May 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/davidgrzyb/laravel-finnhubio)[ Packagist](https://packagist.org/packages/davidgrzyb/laravel-finnhubio)[ Docs](https://github.com/davidgrzyb/laravel-finnhubio)[ RSS](/packages/davidgrzyb-laravel-finnhubio/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

A Simple Finnhub.io Package for Laravel
=======================================

[](#a-simple-finnhubio-package-for-laravel)

This Laravel package simplifies the usage of Finnhub.io's API for getting stock, forex and crypto data. Currently only the Stock Price, Forex and Crypto endpoints are supported.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require davidgrzyb/laravel-finnhubio
```

You will need to add an API key for Finnhub in your `.env` file with the key `FINNHUB_API_KEY`. Get your API key [here](https://finnhub.io/dashboard).

Usage
-----

[](#usage)

### Stock Prices

[](#stock-prices)

```
// Quote endpoint:
Finnhubio::stock()->getQuote('AAPL');
// Candles endpoint:
Finnhubio::stock()->getCandles('AAPL', '1', now()->subDay(1), now());
// Dividends endpoint:
Finnhubio::stock()->getDividends('AAPL', now()->subMonth(10), now());
// Splits endpoint:
Finnhubio::stock()->getSplits('AAPL', now()->subYear(10), now());
```

### Forex

[](#forex)

```
// Exhanges endpoint:
Finnhubio::forex()->getExchanges();
// Symbols endpoint:
Finnhubio::forex()->getSymbols('oanda');
// Candles endpoint:
Finnhubio::forex()->getCandles('OANDA:EUR_USD', 'D', now()->subDays(1), now());
// All rates endpoint:
Finnhubio::forex()->getRates();
```

### Crypto

[](#crypto)

```
// Exchanges endpoint:
Finnhubio::crypto()->getExchanges();
// Symbols endpoint:
Finnhubio::crypto()->getSymbols('binance');
// Candles endpoint:
Finnhubio::crypto()->getCandles('BINANCE:BTCUSDT', 'D', now()->subDays(1), now());
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2188d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e451d9bb9c3fc65f99126900b5455bd61371727e0a7aab37a0713cff98d828a9?d=identicon)[davidgrzyb](/maintainers/davidgrzyb)

---

Top Contributors

[![davidgrzyb](https://avatars.githubusercontent.com/u/23427964?v=4)](https://github.com/davidgrzyb "davidgrzyb (7 commits)")

---

Tags

davidgrzyblaravel-finnhubio

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/davidgrzyb-laravel-finnhubio/health.svg)

```
[![Health](https://phpackages.com/badges/davidgrzyb-laravel-finnhubio/health.svg)](https://phpackages.com/packages/davidgrzyb-laravel-finnhubio)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
