PHPackages                             paylot/paylot-php - 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. paylot/paylot-php

ActiveLibrary[Payment Processing](/categories/payments)

paylot/paylot-php
=================

A PHP Wrapper for Paylot API

v1.0.0(6y ago)31.6k↓100%1MITPHPPHP &gt;=5.3.0

Since Sep 10Pushed 6y ago1 watchersCompare

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

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

paylot-php
==========

[](#paylot-php)

A PHP API wrapper for [Paylot](https://paylot.co/).

[![Paylot](img/paylot.png?raw=true "Paylot")](https://paylot.co/)

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

[](#requirements)

- Guzzle 6.3.0 or more recent (Unless using Guzzle)
- PHP 5.4.0 or more recent
- OpenSSL v1.0.1 or more recent

Install
-------

[](#install)

### Via Composer

[](#via-composer)

```
    $ composer require paylot/paylot-php
```

### Via download

[](#via-download)

Download a release version from the [releases page](https://github.com/paylot/paylot-php/releases). Extract, then:

```
    require 'path/to/src/autoload.php';
```

Usage
-----

[](#usage)

To use, follow the following.

### 0. Prerequisites

[](#0-prerequisites)

Confirm that your server can conclude a TLSv1.2 connection to Paylot's servers. Most up-to-date software have this capability. Contact your service provider for guidance if you have any SSL errors. *Don't disable SSL peer verification!*

### 0b. Secret Key

[](#0b-secret-key)

Please, ensure you have your Paylot secret key handy. You can obtain that from your business profile.

### 1. Verify Transaction

[](#1-verify-transaction)

After a successful transaction, please verify the transaction before giving value.

```
    $reference = isset($_GET['reference']) ? $_GET['reference'] : '';
    if(!$reference){
      die('No reference supplied');
    }

    // initiate the Library's Paystack Object
    $paylot = new Paylot\Paylot(SECRET_KEY);
    try
    {
      // verify using the library
      $tranx = $paylot->transaction->verify($reference);
    } catch(\Paylot\Exceptions\ApiResponseException $e){
      print_r($e->getResponseObject());
      die($e->getMessage());
    }

    if ($tranx->sent) {
      // Payment has been made. You can give value
    }

    if ($tranx->confirmed) {
      // Payment has been confirmed on blockchain.
      // If you don't give value here, I don't know what you are waiting for.
    }
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

2432d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6108752459f75d1e715d823590ca594d07dffe8f979898c0b5b8f9edd49f68e3?d=identicon)[paylot](/maintainers/paylot)

---

Top Contributors

[![dozieogbo](https://avatars.githubusercontent.com/u/19904579?v=4)](https://github.com/dozieogbo "dozieogbo (5 commits)")

---

Tags

cryptocurrencypaymentpayment-gateway

### Embed Badge

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

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

###  Alternatives

[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M8](/packages/chargebee-chargebee-php)[imdhemy/google-play-billing

Google Play Billing

491.3M5](/packages/imdhemy-google-play-billing)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[buckaroo/sdk

Buckaroo payment SDK

12189.1k8](/packages/buckaroo-sdk)[contica/facturador-electronico-cr

Un facturador de código libre para integrar facturación electrónica en Costa Rica a un proyecto PHP

2128.8k](/packages/contica-facturador-electronico-cr)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)

PHPackages © 2026

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