Download the PHP package accesspoint/apg without Composer

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

alert-php-library

A PHP composer library for the Alert Payment Gateway.

Features

  1. Setup Features:

    • Get list of allowed Card Brands for a Bank Merchant Reference.
    • Get list of allowed Transaction Types for a Bank Merchant Reference.
    • Get application information for a Bank Merchant Reference and AppGUID.
    • Get list of supported currencies for a Bank Merchant Reference.
  2. Transaction Features:

    • Processing Transactions with the Alert Payment Gateway, with/without 3D Secure.
    • Get Transactions with a transaction reference.
    • Get Tranasction History through transaction reference root and/or Bank Merchant Reference.
  3. Card Storage Features:
    • Save a Card with reference to an AppGUID and Bank Merchant Reference, for a specified length of time.
    • Remove a Card with through CardGUID, with reference to an AppGUID and Bank Merchant Reference.
    • Update Card Information with reference to an AppGUID and Bank Merchant Reference, for a specified length of time.
    • Get list of stored Cards for a Bank Merchant Refereence and AppGUID, or with a list of CardGUID's

Installation

The preferred way to install this extension is through composer.

Either run

or add

to the require section of your composer.json file.

Usage

In order to use the library, an instance of class APGClient in namespace APG must be created. The APGClient has 2 distinct constructors:

APGClient(filepath, referringURL) or APGClient(username, password, referringURL)

The first makes use of the secure.apg file supplied when you register your system with the Alert Payment gateway. You can simply pass the local URL of you file in the first argument, and the referring URL in the second.

The second does not require the secure.apg file, but requires the username and password that can be found in this file. This can be used when the file cannot be hosted.

Once an instance of APGClient is created, all the functions found in the APG documentation are accessible directly through PHP. For in depth documentation of each function please follow the APG Documentation.


All versions of apg with dependencies

PHP Build Version
Package Version
Requires phpseclib/phpseclib Version ^2.0
mollie/polyfill-libsodium Version ^1.1
pear/math_biginteger Version ^1.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 accesspoint/apg contains the following files

Loading the files please wait ....