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.6k1MITPHPPHP &gt;=5.3.0CI failing

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 2w 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 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

2484d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44520530?v=4)[Paylot Technologies](/maintainers/paylot)[@paylot](https://github.com/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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.3M9](/packages/chargebee-chargebee-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[imdhemy/google-play-billing

Google Play Billing

491.4M5](/packages/imdhemy-google-play-billing)

PHPackages © 2026

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