PHPackages                             loxopay/loxopay - 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. loxopay/loxopay

ActiveLibrary[Payment Processing](/categories/payments)

loxopay/loxopay
===============

Loxopay PHPLib

v1.0.0(4y ago)19MITPHPPHP &gt;=5.4

Since Jun 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/loxopay/loxopay-php)[ Packagist](https://packagist.org/packages/loxopay/loxopay)[ Docs](https://www.loxopay.ch)[ RSS](/packages/loxopay-loxopay/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

loxopay-php
===========

[](#loxopay-php)

VERSIONING
----------

[](#versioning)

This client API library uses the API version 1.0.0 of Loxopay. If you got troubles, make sure you are using the correct library version!

Requirements
------------

[](#requirements)

We recommend to use PHP version &gt;= 5.4

The following php modules are required: cURL

Getting started with LOXOPAY
----------------------------

[](#getting-started-with-loxopay)

If you don't already use Composer, then you probably should read the installation guide .

Please include this library via Composer in your composer.json and execute **composer update** to refresh the autoload.php.

For the latest library version you can use the following content of composer.json:

```
{
    "require": {
        "loxopay/loxopay": "dev-master"
    }
}
```

For the Version 1.0.0 you can use the following content of composer.json:

```
{
    "require": {
        "loxopay/loxopay": "1.0.0"
    }
}
```

1. Instantiate the loxopay class with the following parameters: $instance: Your Loxopay instance name. (e.g. instance name 'demo' you request your Loxopay instance $apiSecret: This is your API secret which you can find in your instance's administration.

    ```
    $loxopay = new \Loxopay\Loxopay($instance, $apiSecret);
    ```
2. Instantiate the model class with the parameters described in the API-reference:

    ```
    $subscription = new \Loxopay\Models\Request\Subscription();
    $subscription->setId(1);
    ```
3. Use your desired function:

    ```
    $response  = $loxopay->cancel($subscription);
    $subscriptionId = $response->getId();
    ```

    It recommend to wrap it into a "try/catch" to handle exceptions like this:

    ```
    try{
        $response  = $loxopay->cancel($subscription);
        $subscriptionId = $response->getId();
    }catch(\Loxopay\LoxopayException $e){
        //Do something with the error informations below
        $e->getCode();
        $e->getMessage();
    }
    ```

Documentation
-------------

[](#documentation)

For further information, please refer to the official REST API reference:

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

1789d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6297ff94ef6ee97def36aec9b602fbdf59f1046269817a9bb30a517324abf7c6?d=identicon)[ukramer](/maintainers/ukramer)

---

Top Contributors

[![sven-otziger](https://avatars.githubusercontent.com/u/83946677?v=4)](https://github.com/sven-otziger "sven-otziger (1 commits)")

---

Tags

paymentgateway

### Embed Badge

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

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)[sudiptpa/omnipay-nabtransact

National Australia Bank (NAB) Transact driver for the Omnipay payment processing library.

1017.2k](/packages/sudiptpa-omnipay-nabtransact)[baklysystems/laravel-paymob

Laravel PayMob online payment gateway package

282.4k](/packages/baklysystems-laravel-paymob)[lucassmacedo/omnipay-mercadopago

MercadoPago gateway for OmniPay

154.6k](/packages/lucassmacedo-omnipay-mercadopago)

PHPackages © 2026

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