Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Yahoo Finance Api Laravel Package

scheb/yahoo-finance-api

A PHP client for the Yahoo Finance API that lets you fetch stock quotes, historical prices, dividends, splits, and other market data through a simple, expressive interface. Framework-agnostic, no API key required, and easy to drop into any PHP project.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for market data. scheb/yahoo-finance-api is a thin, open-source PHP client over public Yahoo Finance endpoints. It supports the "build a feature, buy the data access" middle path: you get quotes, historical prices, symbol search, and news without standing up your own data pipeline, but you inherit the risk profile of an unofficial endpoint.
  • Feature scoping for finance-adjacent experiences. Realistic near-term uses: watchlists, portfolio trackers, price/change widgets, market summaries, symbol lookup in onboarding, historical sparkline charts, and "related news" panels. It does not support order execution, streaming tick data, or regulated advisory workflows.
  • Internationalization / market coverage (new in v5.2.0). The added region parameter on search lets you localize symbol/company discovery by market — useful if your roadmap includes multi-region onboarding (e.g., surfacing European or Asian listings, local-language company names). This makes "support non-US markets in search UX" a cheaper roadmap bet than it was before, though it is additive and does not change the underlying data-reliability story.
  • Caching and cost strategy. Because the package hits public endpoints rather than a paid feed, decisions about server-side caching, rate limiting, and staleness tolerances are yours rather than governed by a vendor contract. Budget engineering time for a caching layer in the design.
  • Vendor-swap readiness. Treat the package as an implementation detail behind an internal interface so that a shift to a licensed provider (Polygon, Finnhub, Alpha Vantage, IEX) is a swap, not a rewrite.

When to Consider This Package

Consider it when:

  • You are in PHP/Laravel and need read-only quote, historical, search, or news access quickly — prototypes, MVPs, internal dashboards, low-to-moderate traffic features.
  • You want minimal dependency and infrastructure overhead; Composer install plus a thin service wrapper gets you to a demo fast.
  • You can tolerate best-effort availability. There is no SLA, the endpoints are unofficial and subject to change without notice, and Yahoo's terms of use constrain commercial redistribution.
  • Symbol discovery is a secondary UX element and localized results (now possible via region) meaningfully improve your funnel.

Look elsewhere when:

  • You need real-time or streaming data, guaranteed uptime, historical depth beyond what public endpoints serve, or contractual support.
  • Your product redistributes data commercially or sits inside a regulated advisory/disclosure context — licensing and compliance must be resolved with a paid provider.
  • Volume is high enough that scraping-style public access becomes fragile or rate-limited.
  • You need fundamentals, options chains, or corporate actions as first-class data.

Regardless of path: wrap it behind an interface, cache aggressively, and monitor failures, because endpoint churn is a maintenance cost you own.

How to Pitch It (Stakeholders)

For executives: This is a low-cost, low-commitment way to validate market-data features — watchlists, price widgets, symbol search, historical charts — without a data vendor contract. The v5.2.0 release adds a small but useful region parameter that lets search results be localized by market, which lowers the cost of testing international coverage. The trade-off is risk: the data comes from an unofficial public API with no guarantee of uptime or terms suitable for commercial redistribution. My recommendation is to use it to prove demand and de-risk the UX, then migrate to a licensed provider before scaling or monetizing the feature. Keep the integration behind an abstraction so that migration is a contained engineering task rather than a rebuild.

For engineering: Simple, small-footprint PHP client; v5.2.0 is a purely additive, non-breaking change adding a region argument to search. Adopt it behind an internal MarketDataProvider interface, add caching and retry/backoff, and expect to own breakage when Yahoo changes endpoints. Instrument error rates from day one so we know when to trigger the provider migration.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core