thecaliskan / laravel-stock
Laravel Stock, Forex, Crypto Data API
Fund package maintenance!
thecaliskan
Requires
- php: ^8.1
- ext-curl: *
- illuminate/cache: ^10.0|^11.0
- illuminate/contracts: ^10.0|^11.0
- illuminate/support: ^10.0|^11.0
- nesbot/carbon: ^2.72.1|^3.0
- spatie/laravel-data: ^4.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- larastan/larastan: ^2.0.1
- laravel/pint: ^1.0
- mockery/mockery: ^1.6
- nunomaduro/collision: ^7.8|^8.0
- orchestra/testbench: ^8.8|^9.0
- pestphp/pest: ^2.20
- pestphp/pest-plugin-arch: ^2.5
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/pest-plugin-test-time: ^2.0
This package is auto-updated.
Last update: 2024-11-08 03:44:41 UTC
README
This package provides a simple way to get stock data in Laravel apps. (w/delay)
Here's a quick example:
use TheCaliskan\Stock\Facades\Stock; Stock::stock() Stock::stock('TEAM') Stock::stock('TEAM', now()->addWeek(-1)) Stock::forex() Stock::forex('C:USDTRY') Stock::forex('C:USDTRY') Stock::crypto() Stock::crypto('X:BTCUSD') Stock::crypto('X:BTCUSD', now()->addWeek(-1))
Installation
You can install the package via composer:
composer require thecaliskan/laravel-stock
Credits
Disclaimers
All data and information is provided “as is” for informational purposes only, and is not intended for trading purposes or financial, investment, tax, legal, accounting or other advice. Please consult your broker or financial representative to verify pricing before executing any trade. This package is not an investment adviser, financial adviser or a securities broker. None of the data and information constitutes investment advice nor an offering, recommendation or solicitation by this package to buy, sell or hold any security or financial product, and this package makes no representation (and has no opinion) regarding the advisability or suitability of any investment.
License
The MIT License (MIT). Please see License File for more information.