Download the PHP package alfaexchange/laravel-package without Composer

On this page you can find all versions of the php package alfaexchange/laravel-package. 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 laravel-package

alfaexchange Laravel SDK Package

Build Status

alfaexchange Laravel Package - PHP SDK Laravel for work with Alfa Exchange.

Introduction

The laravel-alfaexchange package allows you to build web and console applications based on Laravel framework that integrate with your Alfa Exchange account. With over 15 exchange rate data sources, the Alfa Exchange API is delivering exchanging rates data for more than 170 world currencies. This API has several endpoints, where each of them serves a different purpose, use case. The endpoints include functionalities like receiving the latest exchange rates information for a specific set, or for all currencies; conversion from one to another currency; receiving data Time-series for multiple or for one currency, and preserving the API daily for the fluctuation data.

With laravel-alfaexchange API SDK you can:

You should publish the migration and the config/alfaexchange.php config file with

Configure

Project setup is done through the .env of your project

Methods

The AlfaExchange\Api\AlfaExchangeService instance can execute all methods which provided Alfa Exchange API

Latest

Fetch a single currency exchange rate or all available currency rates

Params

Param Type Description
from string Base currency 3-letter symbol
to string Optional parameter. Target currency 3-letter symbol

Response object

Returned AlfaExchange\Api\Objects\ExchangeObject with structure Param Type Description
success boolean Success trigger
timestamp timestamp Last currency updated
base string Base currency 3-letter symbol
rates AlfaExchange\Api\Objects\RatesObject List of rates

Example request object


All versions of laravel-package with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
ext-json Version *
guzzlehttp/guzzle Version ^7.2
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 alfaexchange/laravel-package contains the following files

Loading the files please wait ....