PHPackages                             ikechukwuokalia/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. [API Development](/categories/api)
4. /
5. ikechukwuokalia/paylot-php

ActiveLibrary[API Development](/categories/api)

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

\[A custom version of paylot/paylot-php by @dozieogbo\] A PHP Wrapper for Paylot API

v1.0.2(5y ago)012MITPHPPHP &gt;=5.3.0

Since Sep 10Pushed 5y agoCompare

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

READMEChangelog (2)Dependencies (1)Versions (4)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

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

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

Total

3

Last Release

2008d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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