Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Banxico Php Laravel Package

xint0/banxico-php

PHP client for Banxico's SIE REST API to fetch USD-MXN exchange rates (SF43718 determination and SF60653 liquidation series), with methods for latest, specific-date, or date-range queries and any SIE series by name.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature decisions: Enables MXN/USD conversion for invoicing, checkout, payroll, expense tracking, treasury dashboards, and accounting reconciliation using official Banco de México SIE rates. Specifically supports the two commonly needed series: SF43718 (peso-dollar determination/Fix) and SF60653 (peso-dollar liquidation), plus arbitrary series lookup via fetchSeries().
  • Roadmap decisions: Helps sequence FX work: first display daily Banxico rates, then store historical rate snapshots, then automate conversions and accounting exports. Also informs whether to support only USD/MXN or build a broader multi-currency FX abstraction.
  • Build vs. buy/integrate: Avoids building a Banxico SIE API client from scratch. The package is a thin MIT-licensed PHP client over the official API; the real “buy” decision is whether to depend on a small, low-adoption package versus writing a small internal client or using a managed FX data vendor.
  • Use cases: Scheduled daily rate ingestion, historical backfill for reporting, invoice/rate audit trails, back-office conversion tools, and generic Banxico series retrieval for indicators such as target rate (SF61745 in the README example).
  • Laravel-specific decision: This is not Laravel-native — there is no service provider, facade, config publishing, cache layer, or queue integration. A PM should budget a small integration task: bind SieClient as a singleton, manage the Banxico token, add caching, retry/timeout handling, logging, and a fallback rate policy.
  • Risk decision: With 5 stars, 0 dependents, Spanish-only docs, and a single-maintainer profile, this is best treated as an implementation detail behind an internal ExchangeRateProvider interface, not as a strategic platform dependency.

When to Consider This Package

Consider it when:

  • The product is a PHP/Laravel app on PHP 8.2+ and needs official Banxico USD/MXN rates or specific SIE series.
  • The primary use case is back-office, reporting, accounting, treasury, or internal tooling, where a cached daily rate is sufficient.
  • You need a quick, low-cost integration and are comfortable using Composer with a PSR-18 HTTP client.
  • The team can wrap the client with caching, retries, timeouts, monitoring, and fallback rates.
  • You can accept a small, low-adoption dependency and are willing to pin the version, review releases, or fork if the maintainer becomes inactive.
  • Spanish documentation is manageable, or the team can rely on the README examples and source code.
  • You have a process to obtain and secure a Banxico SIE API token and comply with Banxico API terms and rate limits.

Look elsewhere when:

  • You need enterprise SLA, contractual support, audited compliance guarantees, or vendor-managed FX data.
  • You need multi-currency, multi-provider aggregation, real-time trading rates, or non-Banxico data sources.
  • You need an out-of-the-box Laravel package with config, cache, queue jobs, admin UI, or a native facade.
  • The feature is customer-facing with hard uptime requirements and you have no fallback or internal FX abstraction.
  • The app is on an older PHP version or the team cannot manage PSR-18 client discovery and HTTP client configuration.
  • Banxico API token management, rate limits, or terms are unacceptable for the product’s compliance model.

How to Pitch It (Stakeholders)

  • Executives: “This MIT-licensed package lets us pull official Banco de México USD/MXN rates directly into our Laravel/PHP application instead of relying on manual rate updates or custom API code. It supports compliant invoicing, accounting, and treasury workflows at near-zero license cost and speeds up delivery of FX features. It is a thin client, not a supported data vendor — so we will isolate it behind an internal service, cache rates, add fallback logic, and monitor failures. Low financial commitment, with manageable dependency risk if wrapped properly.”
  • Engineering: “Composer package for PHP 8.2+, PSR-18 HTTP client discovery, simple SieClient API with exchangeRateUsdDetermination(), exchangeRateUsdLiquidation(), and fetchSeries(). No Laravel provider or facade, so bind it as a singleton, inject/configure the HTTP client, secure the Banxico token, cache by series/date, handle exceptions and rate limits, and log source/date for auditability. Pin the version and consider an internal wrapper or fork. Test against known historical dates and Banxico’s documented series codes.”
  • Product/operations: “This enables daily rate snapshots, historical backfill, conversion rules, and audit trails showing which Banxico rate and date were used. Product must decide which rate applies — determination/Fix versus liquidation — along with cutoff times, fallback policy, and whether the rate source is disclosed to customers.”
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package