norse-blue/laravel-banxico
最新稳定版本:0.1.1
Composer 安装命令:
composer require norse-blue/laravel-banxico
包简介
README 文档
README
Laravel Banxico
Laravel Banxico is a Laravel package that contains an HTTP Client implementation for Banxico's SIE API to request series data and metadata.
Installation
Requirements:
Install this package using Composer:
composer require norse-blue/laravel-banxico
You can publish the config file with:
php artisan vendor:publish --provider="NorseBlue\LaravelBanxico\BanxicoServiceProvider" --tag="settings"
Using Spatie\LaravelSettings package for configuration is also possible.
Usage
The easiest way to use the package is with the facade:
Banxico::getSeriesData( BanxicoSeries::combine( BanxicoSeries::ExchangeRate_USD_SettleObligationsDate, BanxicoSeries::ExchangeRate_EUR_BasketSDR, ), now()->subDays(7), now(), );
This example retrieves the last 7 days of data for the specified series.
Changelog
Please refer to the CHANGELOG.md file for more information about what has changed recently.
Contributing
Contributions to this project are accepted and encouraged. Please read the CONTRIBUTING.md file for details on contributions.
Credits
Security
Please review our security policy to know how to report security vulnerabilities within this package.
Support the development
Do you like this project? Support it by donating
License
This package is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-26