PHPackages                             norse-blue/laravel-banxico - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. norse-blue/laravel-banxico

ActiveLibrary[API Development](/categories/api)

norse-blue/laravel-banxico
==========================

0.1.1(3y ago)012MITPHPPHP ^8.2

Since Mar 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/norse-blue/laravel-banxico)[ Packagist](https://packagist.org/packages/norse-blue/laravel-banxico)[ Docs](https://norse.blue/open-source/laravel-banxico)[ RSS](/packages/norse-blue-laravel-banxico/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (10)Versions (5)Used By (0)

Laravel Banxico
===============

[](#laravel-banxico)

 [![Stable Release](https://camo.githubusercontent.com/1f1d7eb23608f783b007662b269658de880984b3bad174fe8647d674c3c45be6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f7273652d626c75652f6c61726176656c2d62616e7869636f2e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d356538316163)](https://packagist.org/packages/norse-blue/laravel-banxico) [![Build Status](https://camo.githubusercontent.com/0f37d75101d73339636ba0b47a36631230bbc5abd5529c3832d21e40d7d0895d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6e6f7273652d626c75652f6c61726176656c2d62616e7869636f2f72756e2d74657374732e7376673f7374796c653d666c61742d737175617265266c6162656c3d6275696c64266c6f676f3d676974687562266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d383863306430)](https://github.com/norse-blue/laravel-banxico/actions?query=workflow%3Arun-tests) [![PHP Version](https://camo.githubusercontent.com/c4def235521608282d1fb45686d851f307249ce38acab8b27912e68f3931334b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6e6f7273652d626c75652f6c61726176656c2d62616e7869636f2e7376673f7374796c653d666c61742d737175617265266c6162656c3d706870266c6f676f3d706870266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d623438656164)](https://php.net/releases) [![Test Coverage](https://camo.githubusercontent.com/8f5ab2c1319c58f80c5cfb4dd277f275aeddaffb3074574aedeb2c0f0a705455/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6e6f7273652d626c75652f6c61726176656c2d62616e7869636f2e7376673f7374796c653d666c61742d737175617265266c6162656c3d636f766572616765266c6f676f3d636f6465636f76266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d383863306430)](https://codecov.io/gh/norse-blue/laravel-banxico) [![Maintainability](https://camo.githubusercontent.com/b30a97273cbb9258cd245292fd2d86be98ddb9a4bcb39686c526566de8f4c22e/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f6e6f7273652d626c75652f6c61726176656c2d62616e7869636f2e7376673f7374796c653d666c61742d737175617265266c6162656c3d6d61696e7461696e6162696c697479266c6f676f3d636f64652d636c696d617465266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d383863306430)](https://codeclimate.com/github/norse-blue/laravel-banxico) [![Total Downloads](https://camo.githubusercontent.com/2da07366e4544b670dad24c45e18d44c6375be970f9a07814aae9b880ab633ef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f7273652d626c75652f6c61726176656c2d62616e7869636f2e7376673f7374796c653d666c61742d737175617265266c6162656c3d646f776e6c6f616473266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d383863306430)](https://packagist.org/packages/norse-blue/laravel-banxico) [![License](https://camo.githubusercontent.com/5f26ae5496c81cec1e48a6867c0f0fa75797a531a4741b5fc4ed145749e974b7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e6f7273652d626c75652f6c61726176656c2d62616e7869636f2e7376673f7374796c653d666c61742d737175617265266c6162656c3d6c6963656e7365266c6f676f436f6c6f723d65636566663426636f6c6f72413d34633536366126636f6c6f72423d613362653863)](https://github.com/norse-blue/laravel-banxico/blob/master/LICENSE.md)

---

**Laravel Banxico** is a Laravel package that contains an HTTP Client implementation for [Banxico's SIE API](https://www.banxico.org.mx/SieAPIRest/service/v1/) to request series data and metadata.

Installation
------------

[](#installation)

> Requirements:
>
> - [PHP 8.2+](https://php.net/releases)

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](https://github.com/spatie/laravel-settings) package for configuration is also possible.

Usage
-----

[](#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
---------

[](#changelog)

Please refer to the [CHANGELOG.md](CHANGELOG.md) file for more information about what has changed recently.

Contributing
------------

[](#contributing)

Contributions to this project are accepted and encouraged. Please read the [CONTRIBUTING.md](.github/CONTRIBUTING.md) file for details on contributions.

Credits
-------

[](#credits)

- [Axel Pardemann](https://github.com/axelitus)
- [All Contributors](../../contributors)

Security
--------

[](#security)

Please review our [security policy](https://github.com/norse-blue/laravel-banxico/security/policy) to know how to report security vulnerabilities within this package.

Support the development
-----------------------

[](#support-the-development)

**Do you like this project? Support it by donating**

[![Buy me a coffee](.assets/buy-me-a-coffee.svg)](https://www.buymeacoffee.com/axelitus)

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT](LICENSE.md) license.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

1143d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/61386558d4fa03cc9de21d20e76f396d5568e0e647e1cdf18f12c87f1a5f87b5?d=identicon)[axelitus](/maintainers/axelitus)

---

Top Contributors

[![axelitus](https://avatars.githubusercontent.com/u/732441?v=4)](https://github.com/axelitus "axelitus (17 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/norse-blue-laravel-banxico/health.svg)

```
[![Health](https://phpackages.com/badges/norse-blue-laravel-banxico/health.svg)](https://phpackages.com/packages/norse-blue-laravel-banxico)
```

###  Alternatives

[spatie/laravel-query-builder

Easily build Eloquent queries from API requests

4.4k26.9M220](/packages/spatie-laravel-query-builder)[flat3/lodata

OData v4.01 Producer for Laravel

96320.9k](/packages/flat3-lodata)[freshbitsweb/laravel-google-analytics-4-measurement-protocol

A Laravel package to use Measurement Protocol for Google Analytics 4

20111.0k](/packages/freshbitsweb-laravel-google-analytics-4-measurement-protocol)[simplestats-io/laravel-client

Client for SimpleStats!

4515.5k](/packages/simplestats-io-laravel-client)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

2971.0k](/packages/stechstudio-laravel-hubspot)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
