PHPackages                             glaivepro/libwebtopay - 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. glaivepro/libwebtopay

ActiveLibrary

glaivepro/libwebtopay
=====================

PHP Library for Paysera payment gateway integration

2.0.0(4y ago)09[1 issues](https://github.com/GlaivePro/lib-webtopay/issues)LGPL-3.0PHPPHP ^7.3 || ~8.0.0

Since Nov 14Pushed 4y agoCompare

[ Source](https://github.com/GlaivePro/lib-webtopay)[ Packagist](https://packagist.org/packages/glaivepro/libwebtopay)[ RSS](/packages/glaivepro-libwebtopay/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

GlaivePro/lib-webtopay
======================

[](#glaiveprolib-webtopay)

Fork of `paysera/lib-webtopay` with testing enabled and PHP8.0 support.

Aiming for more maintenance, cleanup, PHP8.1 support etc. if the time allows.

Description from the source of the fork:

> The Checkout API (Payment Gateway API) allows for the collection of online payments with many payment methods. The Checkout API is easy to integrate – simply use one of our methods and the checkout processes will be performed automatically. The library can be used to check all the necessary security parameters of transferred and received data. More information can be found in [the documentation](https://developers.paysera.com/en/checkout/basic).

Version support
---------------

[](#version-support)

The `master` branch is intended to be usable on current PHP versions.

The legacy lib that supports PHP 5.5-8.0 and includes a built megafile is maintained on the [v1 branch](https://github.com/GlaivePro/lib-webtopay/tree/v1).

Installation
------------

[](#installation)

```
composer require glaivepro/libwebtopay
```

Development
-----------

[](#development)

Requires git, PHP and composer. Clone the repo and install dev dependencies:

```
git clone https://github.com/GlaivePro/lib-webtopay.git
composer update
```

### Testing

[](#testing)

```
composer test
```

### Code style checking

[](#code-style-checking)

```
composer cs
```

Roadmap
-------

[](#roadmap)

- Fix PHP8.1 support
- Convert pseudo-namespaces to real namespaces
- Improve test coverage
- Remove demo from the archive like [here](https://github.com/paysera/lib-webtopay/pull/2)

Demo
----

[](#demo)

> Note: this is inherited from the source of the fork. No plans on active maintenance.

demo\_shop is a simple example how you can integrate library to your project. It also shows how to get payment methods available for your project and specific amount.

Demo needs write permissions to folder /var to function properly. If you want to test demo online, also change parameters in includes/config.php file to your project's. If you are testing offline, demos will still work, but webtopay.com will be unable to send callback to your site - you can login to your account and copy-and-paste the callback link in your browser in that case.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.9% 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 ~0 days

Total

3

Last Release

1646d ago

Major Versions

v1.x-dev → 2.0.02021-11-14

PHP version history (2 changes)1.0.0PHP ^5.5 || ^7.0 || ^8.0

2.0.0PHP ^7.3 || ~8.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6674d01479885d0c1929e0529fd4aa68aaf2ca8e4816c774b55ea584de900135?d=identicon)[tontonsb](/maintainers/tontonsb)

---

Top Contributors

[![tontonsb](https://avatars.githubusercontent.com/u/16481303?v=4)](https://github.com/tontonsb "tontonsb (35 commits)")[![ReekenX](https://avatars.githubusercontent.com/u/242010?v=4)](https://github.com/ReekenX "ReekenX (5 commits)")[![morlo1](https://avatars.githubusercontent.com/u/11585558?v=4)](https://github.com/morlo1 "morlo1 (2 commits)")[![KostasNoreika](https://avatars.githubusercontent.com/u/3585174?v=4)](https://github.com/KostasNoreika "KostasNoreika (2 commits)")[![vbartusevicius](https://avatars.githubusercontent.com/u/7325630?v=4)](https://github.com/vbartusevicius "vbartusevicius (1 commits)")[![pelanis](https://avatars.githubusercontent.com/u/31431703?v=4)](https://github.com/pelanis "pelanis (1 commits)")[![sirex](https://avatars.githubusercontent.com/u/297583?v=4)](https://github.com/sirex "sirex (1 commits)")[![gsalnis](https://avatars.githubusercontent.com/u/49526789?v=4)](https://github.com/gsalnis "gsalnis (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

PHPackages © 2026

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