PHPackages                             verotel/flexpay-php-client - 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. verotel/flexpay-php-client

ActiveLibrary[Payment Processing](/categories/payments)

verotel/flexpay-php-client
==========================

A client to Verotel FlexPay online payment gateway

5.1.1(1y ago)12210.4k—0.7%4MITPHP

Since Jul 8Pushed 1y ago2 watchersCompare

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

READMEChangelog (9)Dependencies (1)Versions (18)Used By (0)

Verotel FlexPay library
=======================

[](#verotel-flexpay-library)

[![Tests Status](https://github.com/verotel/flexpay-php-client/actions/workflows/php.yml/badge.svg)](https://github.com/verotel/flexpay-php-client/actions/workflows/php.yml/badge.svg)

This library allows you to use Verotel payment gateway and accept credit cards and other payment methods on your website.

Official Documentation
----------------------

[](#official-documentation)

[Documentation for the library can be found on the Control Center website](https://controlcenter.verotel.com/flexpay-doc/).

Installation via Composer
-------------------------

[](#installation-via-composer)

```
composer require verotel/flexpay-php-client

```

Download manually
-----------------

[](#download-manually)

[**Download latest Release**](https://github.com/verotel/flexpay-php-client/releases/latest)

Usage
-----

[](#usage)

### Composer

[](#composer)

```
require_once 'vendor/autoload.php';
```

### Direct require

[](#direct-require)

```
require_once '/src/Verotel/FlexPay/Client.php';
```

### Construction of client

[](#construction-of-client)

```
// get your brand instance
$brand = Verotel\FlexPay\Brand::create_from_merchant_id(/* Your customer ID */ '9804000000000000');

$flexpayClient = new Verotel\FlexPay\Client(/* shop ID */ 12345, "FlexPay Signature Key", $brand);
```

### Obtaining of purchase payment url

[](#obtaining-of-purchase-payment-url)

```
$purchaseUrl = $flexpayClient->get_purchase_URL([
    "priceAmount" => 2.64,
    "priceCurrency" => "EUR",
    "description" => "Test purchase",
]);
```

### Obtaining of cancel subscription url

[](#obtaining-of-cancel-subscription-url)

```
$cancelUrl = $flexpayClient->get_cancel_subscription_URL([ "saleID" => 12345 ]);
```

### Validation of postback parameters

[](#validation-of-postback-parameters)

```
if (!$flexpayClient->validate_signature($_GET)){
    http_response_code(500);
    echo "ERROR - Invalid signature!";
    exit;
}

// handle correct postback
...

echo "OK";
```

License
-------

[](#license)

The Verotel Flexpay PHP library is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 79.2% 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 ~212 days

Recently: every ~119 days

Total

15

Last Release

630d ago

Major Versions

3.4.0 → 4.0.02016-10-12

4.5.0 → 5.0.02024-02-21

### Community

Maintainers

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

---

Top Contributors

[![PunchyRascal](https://avatars.githubusercontent.com/u/821272?v=4)](https://github.com/PunchyRascal "PunchyRascal (42 commits)")[![alladdin](https://avatars.githubusercontent.com/u/990987?v=4)](https://github.com/alladdin "alladdin (5 commits)")[![kraag22](https://avatars.githubusercontent.com/u/1721419?v=4)](https://github.com/kraag22 "kraag22 (3 commits)")[![ivanmerxx](https://avatars.githubusercontent.com/u/77327541?v=4)](https://github.com/ivanmerxx "ivanmerxx (1 commits)")[![merxos](https://avatars.githubusercontent.com/u/23239400?v=4)](https://github.com/merxos "merxos (1 commits)")[![patrikpajas](https://avatars.githubusercontent.com/u/77364636?v=4)](https://github.com/patrikpajas "patrikpajas (1 commits)")

---

Tags

paymentcredit-cardflexpayverotelcardbillingbilling.creditcard

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/verotel-flexpay-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/verotel-flexpay-php-client/health.svg)](https://phpackages.com/packages/verotel-flexpay-php-client)
```

###  Alternatives

[enupal/stripe

Allows customers sign up for recurring and one-time payments with Stripe, perfect for orders, donations, subscriptions, and events. Create simple payment forms in seconds easily without coding. For Craft CMS 3.x

3416.5k1](/packages/enupal-stripe)

PHPackages © 2026

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