PHPackages                             accesspoint/apg - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. accesspoint/apg

ActiveLibrary[Payment Processing](/categories/payments)

accesspoint/apg
===============

A composer library for the Alert Payment Gateway

1.0.0(5y ago)07proprietaryPHP

Since Nov 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/accesspointmt/alert-php-library)[ Packagist](https://packagist.org/packages/accesspoint/apg)[ RSS](/packages/accesspoint-apg/feed)WikiDiscussions main Synced 5d ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

alert-php-library
=================

[](#alert-php-library)

A PHP composer library for the Alert Payment Gateway.

Features
--------

[](#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
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist accesspoint/apg

```

or add

```
"accesspoint/apg": "1.0.0"

```

to the require section of your `composer.json` file.

Usage
-----

[](#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.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1999d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5316303?v=4)[accesspoint](/maintainers/accesspoint)[@accesspoint](https://github.com/accesspoint)

---

Top Contributors

[![MomoRazor](https://avatars.githubusercontent.com/u/22497603?v=4)](https://github.com/MomoRazor "MomoRazor (3 commits)")[![accesspointmt](https://avatars.githubusercontent.com/u/74670082?v=4)](https://github.com/accesspointmt "accesspointmt (1 commits)")

### Embed Badge

![Health badge](/badges/accesspoint-apg/health.svg)

```
[![Health](https://phpackages.com/badges/accesspoint-apg/health.svg)](https://phpackages.com/packages/accesspoint-apg)
```

###  Alternatives

[amzn/amazon-pay-api-sdk-php

Amazon Pay API SDK (PHP)

505.1M9](/packages/amzn-amazon-pay-api-sdk-php)[amzn/amazon-pay-magento-2-module

Official Magento2 Plugin to integrate with Amazon Pay

109501.7k1](/packages/amzn-amazon-pay-magento-2-module)[sylius/paypal-plugin

PayPal plugin for Sylius.

451.4M4](/packages/sylius-paypal-plugin)[tpay-com/tpay-php

Tpay.com library

25260.3k9](/packages/tpay-com-tpay-php)[litle/payments-sdk

The Vantiv eCommerce PHP SDK is a PHP implementation of the \[Vantiv eCommerce\](https://developer.vantiv.com/community/ecommerce). XML API. This SDK was created to make it as easy as possible to connect process your payments with Vantiv eCommerce

19139.3k1](/packages/litle-payments-sdk)[saleh7/php-zatca-xml

An unofficial PHP library for generating ZATCA Fatoora e-invoices. This library facilitates the creation of compliant e-invoices, QR Codes, and certificates, as well as the submission of e-invoices to ZATCA's servers. It provides developers with an easy-to-use, customizable, and robust toolkit to integrate and automate ZATCA e-invoicing processes in PHP applications.

5112.5k](/packages/saleh7-php-zatca-xml)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
