Download the PHP package mapmyplan/basiq-sdk-php without Composer

On this page you can find all versions of the php package mapmyplan/basiq-sdk-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 basiq-sdk-php

Basiq.io PHP SDK

This is the documentation for the PHP SDK for Basiq.io API

Introduction

Basiq.io PHP SDK is a set of tools you can use to easily communicate with Basiq API. If you want to get familiar with the API docs, click here.

The SDK is organized to mirror the HTTP API's functionality and hierarchy. The top level object needed for SDKs functionality is the Session object which requires your API key to be instantiated. You can grab your API key on the dashboard.

Changelog

1.2.0 Added support for waitForAccounts, Refactored jobs search

1.1.0 Added support for secondaryLoginId

0.9.1beta - getTransactions now receives limit parameter. Fixed bug on refresh all connections

0.9.0beta - Initial release

Getting started

Now that you have your API key, you can use the following command to install the SDK:

Next step is to import the used classes into your namespace. A list of classes you will probably use the most:

Common usage examples

Fetching a list of institutions

You can fetch a list of supported financial institutions. The function returns a list of Institution structs.

You can specify the version of API when instantiating Session object. When the version is not specified, default version is 1.0.

Creating a new connection

When a new connection request is made, the server will create a job that will link user's financial institution with your app.

Fetching and iterating through transactions

In this example, the function returns a transactions list struct which is filtered by the connection->id property. You can iterate through transactions list by calling Next().

API

The API of the SDK is manipulated using Services and Entities. Different services return different entities, but the mapping is not one to one.

Errors

If an action encounters an error, you will receive an HTTPResponseException instance. The class contains all available data which you can use to act accordingly.

HTTPResponseException class fields

Check the docs for more information about relevant fields in the error object.

Filtering

Some of the methods support adding filters to them. The filters are created using the FilterBuilder class. After instantiating the class, you can invoke methods in the form of comparison(field, value).

Example:

This example filter for transactions will match all transactions for the connection with the id of "conn-id-213-id" and that are newer than "2018-01-01". All you have to do is pass the filter instance when you want to use it.

SDK API List

Services #### Session ##### Creating a new Session object #### UserService The following are APIs available for the User service ##### Creating a new UserService ##### Referencing a user *Note: The following action will not send an HTTP request, and can be used to perform additional actions for the instantiated user.* ##### Creating a new User ##### Getting a User ##### Update a User ##### Delete a User ##### Refresh connections ##### List all connections ##### Get account ##### Get accounts ##### Get transaction ##### Get transactions #### ConnectionService The following are APIs available for the Connection service ##### Creating a new ConnectionService ##### Get connection ##### Get connection entity with ID without performing an http request ##### Create a new connection ##### Update connection ##### Delete connection ##### Get a job
Entities ##### Updating a user instance ##### Deleting a user ##### Get all of the user's accounts ##### Get a user's single account ##### Get all of the user's transactions ##### Get a user's single transaction ##### Create a new connection ##### Refresh all connections #### Connection ##### Refresh a connection ##### Update a connection ##### Delete a connection #### Job ##### Get the connection id (if available) ##### Get the connection ##### Get the connection after waiting for credentials step resolution (interval is in milliseconds, timeout is in seconds; in case of timeout an exception will be thrown) ##### Get the connection after waiting for transactions step resolution (interval is in milliseconds, timeout is in seconds; in case of timeout an exception will be thrown) #### Transaction list ##### Getting the next set of transactions [mut]

All versions of basiq-sdk-php with dependencies

PHP Build Version
Package Version
Requires ext-json Version *
guzzlehttp/guzzle Version ~6.0|~7.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 mapmyplan/basiq-sdk-php contains the following files

Loading the files please wait ....