定制 norse-blue/laravel-banxico 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

norse-blue/laravel-banxico

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
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固