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

ActiveLibrary[Payment Processing](/categories/payments)

paylink/paylink
===============

Paylink PHPLib

v2.0.0(6y ago)275.1k↓13.8%[2 issues](https://github.com/concardis/paylink/issues)MITPHPPHP &gt;=5.4

Since May 19Pushed 6y ago2 watchersCompare

[ Source](https://github.com/concardis/paylink)[ Packagist](https://packagist.org/packages/paylink/paylink)[ Docs](https://www.pay-link.eu)[ RSS](/packages/paylink-paylink/feed)WikiDiscussions master Synced 1mo ago

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

paylink-php
===========

[](#paylink-php)

VERSIONING
----------

[](#versioning)

This client API library uses the Paylink API. 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 PAYLINK
----------------------------

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

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": {
        "paylink/paylink": "dev-master"
    }
}
```

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

```
{
    "require": {
        "paylink/paylink": "2.0.0"
    }
}
```

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

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

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

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

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

    ```
    try{
        $response  = $paylink->cancel($subscription);
        $subscriptionId = $response->getId();
    }catch(\Paylink\PaylinkException $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

29

—

LowBetter than 59% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

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

Every ~872 days

Total

2

Last Release

2414d ago

Major Versions

v1.0.0 → v2.0.02019-10-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/c50cd2e745c55fd872ab69cbfcfd28efd48cb6fb692fbd0b7804142cd61f1886?d=identicon)[payrexx](/maintainers/payrexx)

---

Top Contributors

[![ukramer](https://avatars.githubusercontent.com/u/809922?v=4)](https://github.com/ukramer "ukramer (4 commits)")[![ConcardisECCC](https://avatars.githubusercontent.com/u/30597969?v=4)](https://github.com/ConcardisECCC "ConcardisECCC (1 commits)")

---

Tags

paymentgateway

### Embed Badge

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

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

###  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)
