norse-blue/laravel-banxico 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

norse-blue/laravel-banxico

最新稳定版本:0.1.1

Composer 安装命令:

composer require norse-blue/laravel-banxico

包简介

README 文档

README

Laravel Banxico

Stable Release Build Status PHP Version Test Coverage Maintainability Total Downloads License

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

Buy me a coffee

License

This package is open-sourced software licensed under the MIT license.

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-26