Download the PHP package xint0/banxico-php without Composer

On this page you can find all versions of the php package xint0/banxico-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package banxico-php

banxico-php

Cliente PHP para la API REST del Sistema de Información Económica (SIE) del Banco de México (Banxico).

Su principal función es obtener los valores de las series SF43718 (Tipo de cambio peso-dólar fecha de determinación) y SF60653 (Tipo de cambio peso-dólar fecha liquidación).

También se tiene un método para obtener una serie específica indicando el nombre de la serie y opcionalmente un rango de fechas.

El código de la serie se puede consultar en catálogo de series del SIE.

Instalación

Requisitos

Utilizar Composer

Esta librería depende de librerías que implementen psr/http-client-implementation y psr/http-factory-implementation y utiliza php-http/discovery por lo que al requerirla en tu proyecto se revisan las librerías instaladas y si no encuentra las librerías requeridas, se instalarán automáticamente.

Para agregarla como dependencia en tu proyecto:

Cómo usar

Token de consulta

Se debe obtener un token de consulta a través de la página de la API REST del SIE del Banxico.

Obtener el tipo de cambio peso - dólar

Licenciamiento

Los derechos de autor de este software pertenecen a su autor Rogelio Jacinto. Copyright 2018-2024 Rogelio Jacinto. Todos los derechos reservados.

Este paquete es software libre, se puede distribuir y/o modificarse bajo los términos de la Licencia MIT.


All versions of banxico-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-json Version *
php-http/client-common Version ^2.0
php-http/discovery Version ^1.0
php-http/httplug Version ^2.2
psr/http-client-implementation Version *
psr/http-factory-implementation Version *
psr/http-message Version ^1.0 || ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package xint0/banxico-php contains the following files

Loading the files please wait ....