PHPackages                             treinetic/clearpay-php-sdk - 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. treinetic/clearpay-php-sdk

ActiveLibrary[Payment Processing](/categories/payments)

treinetic/clearpay-php-sdk
==========================

this library will support to make a payment through the clearpay

1.0.0(3y ago)18MITPHPPHP &gt;=7.0

Since Feb 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Treinetic/clearpay-php-sdk)[ Packagist](https://packagist.org/packages/treinetic/clearpay-php-sdk)[ RSS](/packages/treinetic-clearpay-php-sdk/feed)WikiDiscussions main Synced 1mo ago

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

Introduction
============

[](#introduction)

Gateway to Success Boost Your Revenue by Accepting Payments Online.

Get Started to Accept Payments Quickly, and Securely It is possible to accomplish everything in this world as long as you know how to get about it.

Are you ready to do well? Our comprehensive payment solution begins now. For more information: [clearpay.lk](https://clearpay.lk/)

[![Issues](https://camo.githubusercontent.com/3d900707288b4673261afee222b6e5bc260d31ad0b2b0250033bc040a4a26008/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f547265696e657469632f636c6561727061792d7068702d73646b2e737667)](https://camo.githubusercontent.com/3d900707288b4673261afee222b6e5bc260d31ad0b2b0250033bc040a4a26008/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f547265696e657469632f636c6561727061792d7068702d73646b2e737667)[![Software License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![Stars](https://camo.githubusercontent.com/bb54f638023b7775a2572af38abc38c415c8e635ff9e5aae234b75213653d165/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f547265696e657469632f636c6561727061792d7068702d73646b2e737667)](https://camo.githubusercontent.com/bb54f638023b7775a2572af38abc38c415c8e635ff9e5aae234b75213653d165/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f547265696e657469632f636c6561727061792d7068702d73646b2e737667)[![Forks](https://camo.githubusercontent.com/0ee525d5dad40dac709cd32f196a51d98bf051a97cc93bf2818777d5cd6ae340/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f547265696e657469632f636c6561727061792d7068702d73646b2e737667)](https://camo.githubusercontent.com/0ee525d5dad40dac709cd32f196a51d98bf051a97cc93bf2818777d5cd6ae340/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f547265696e657469632f636c6561727061792d7068702d73646b2e737667)

Getting Started
===============

[](#getting-started)

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

[](#requirements)

php: &gt;=7.0

Install
-------

[](#install)

The package can be installed via composer:

```
$ composer require treinetic/clearpay-php-sdk
```

Usage
-----

[](#usage)

### Very Basics

[](#very-basics)

Using Php [![code.png](https://camo.githubusercontent.com/777c19ff294612b6334622d5494b9b928f862af0688ecd409c8fce2f4d971a13/68747470733a2f2f73332e61702d736f757468656173742d312e616d617a6f6e6177732e636f6d2f63646e2e636c6561727061792e6c6b2f636c6561727061792d7068702d636f64652e706e67)](https://camo.githubusercontent.com/777c19ff294612b6334622d5494b9b928f862af0688ecd409c8fce2f4d971a13/68747470733a2f2f73332e61702d736f757468656173742d312e616d617a6f6e6177732e636f6d2f63646e2e636c6561727061792e6c6b2f636c6561727061792d7068702d636f64652e706e67)

Using Javascript [![phpcode.png](https://camo.githubusercontent.com/345f58357f1b4bd98e04ec9be39b741130e81cfdb7e05b30c9f6c423402ac759/68747470733a2f2f73332e61702d736f757468656173742d312e616d617a6f6e6177732e636f6d2f63646e2e636c6561727061792e6c6b2f636c6561727061792d6a732d636f64652e706e67)](https://camo.githubusercontent.com/345f58357f1b4bd98e04ec9be39b741130e81cfdb7e05b30c9f6c423402ac759/68747470733a2f2f73332e61702d736f757468656173742d312e616d617a6f6e6177732e636f6d2f63646e2e636c6561727061792e6c6b2f636c6561727061792d6a732d636f64652e706e67)

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Imal Hasaranga Perera](https://github.com/imalhasaranga)
- [Kavindu Chathuranga](https://github.com/KaviiChathuranga)
- [Anton Dias](https://github.com/antontreinetic)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

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

1187d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1076374?v=4)[Imal Hasaranga Perera](/maintainers/imalhasaranga)[@imalhasaranga](https://github.com/imalhasaranga)

![](https://www.gravatar.com/avatar/2c3dd9d17b6fe07aed7fd759009902195693ec120f8933ef6370fa14cd0d5a04?d=identicon)[kavindu](/maintainers/kavindu)

---

Top Contributors

[![KavinduChathurangaTreinetic](https://avatars.githubusercontent.com/u/79241026?v=4)](https://github.com/KavinduChathurangaTreinetic "KavinduChathurangaTreinetic (6 commits)")[![antontreinetic](https://avatars.githubusercontent.com/u/125339765?v=4)](https://github.com/antontreinetic "antontreinetic (1 commits)")

---

Tags

paymentsri-lankaclearpaytreineticclearpay payment gatewaysri lanka online paymentsclearpay sdk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/treinetic-clearpay-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/treinetic-clearpay-php-sdk/health.svg)](https://phpackages.com/packages/treinetic-clearpay-php-sdk)
```

###  Alternatives

[paymentsuite/stripe-bundle

Stripe PaymentSuite Component

105.0k](/packages/paymentsuite-stripe-bundle)

PHPackages © 2026

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