PHPackages                             stephenjude/lenco-laravel-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. stephenjude/lenco-laravel-sdk

AbandonedArchivedLibrary[Payment Processing](/categories/payments)

stephenjude/lenco-laravel-sdk
=============================

 Laravel SDK for Lenco payment API integration.

022PHPCI passing

Since May 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/stephenjude/lenco-laravel-sdk)[ Packagist](https://packagist.org/packages/stephenjude/lenco-laravel-sdk)[ RSS](/packages/stephenjude-lenco-laravel-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Lenco Laravel SDK
=================

[](#lenco-laravel-sdk)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d9d3ae0c095acaaf32a5fb880678f93034fd3bdb27cff743b0c86f4273f9f449/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7374657068656e6a7564652f6c656e636f2d6c61726176656c2d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stephenjude/lenco-laravel-sdk)[![GitHub Tests Action Status](https://camo.githubusercontent.com/75a9318567381f3f407d86031c942d8f80dc1a50e21c57b4fbd318d09cbe252b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7374657068656e6a7564652f6c656e636f2d6c61726176656c2d73646b2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/stephenjude/lenco-laravel-sdk/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/9312cf7d0baa63b8f6c44fa279217b4ed26dd916f29f1f6ed9bb770e2cbad498/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7374657068656e6a7564652f6c656e636f2d6c61726176656c2d73646b2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/stephenjude/lenco-laravel-sdk/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/a99a23eda88b9493a0252614df78f3dea2ea1219ee1230226c9996d94a017917/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7374657068656e6a7564652f6c656e636f2d6c61726176656c2d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stephenjude/lenco-laravel-sdk)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require stephenjude/lenco-laravel-sdk
```

Add Lenco API token to your `.env` file.

```
LENCO_API_TOKEN=xxxx_xxxx_xxxx_xxxx
```

Usage
-----

[](#usage)

### Using Class Instance

[](#using-class-instance)

```
use \LencoSDK\Lenco\Lenco;

$lenco = new Lenco();

$banks = $lenco->banks();
```

### Using Facade Instance

[](#using-facade-instance)

```
use \LencoSDK\Lenco\Facades\Lenco;

$banks  = Lenco::banks();
```

### Supported APIs &amp; Usage

[](#supported-apis--usage)

```
    use LencoSDK\Lenco\Facades\Lenco;

    Lenco::accounts();

    Lenco::account(accountID: $accountID);

    Lenco::accountBalance(accountID: $accountID);

    Lenco::banks();

    Lenco::resolve(accountNumber: $accountNumber, bankCode: $bankCode);

    Lenco::transactions(
        page: $page = null,
        status: $status = null,
        type: $type = null,
        start: $start = null,
        end: $end = null,
        search: $search = null,
        accountIds: $accountIds = null
    );

    Lenco::transactionById(transactionId: $transactionId);

    Lenco::transactionByReference(transactionReference: $transactionReference);

    Lenco::createVirtualAccount(
        accountName: $accountName,
        transactionReference: $transactionReference = null,
        amount: $amount = null,
        minAmount: $minAmount = null,
        isStatic: $isStatic = false,
        createNewAccount: $createNewAccount = false,
        bvn: $bvn = null
    );

    Lenco::virtualAccounts(page: $page = null);

    Lenco::virtualAccountByReference(accountReference: $accountReference);

    Lenco::virtualAccountByBVN(bvn: $bvn);

    Lenco::virtualAccountTransactions(accountReference: $accountReference, page: $page = null);

    Lenco::virtualAccountTransaction(transactionId: $transactionId);
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [stephenjude](https://github.com/stephenjude)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 64.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.

### Community

Maintainers

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

---

Top Contributors

[![stephenjude](https://avatars.githubusercontent.com/u/31182887?v=4)](https://github.com/stephenjude "stephenjude (24 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")

### Embed Badge

![Health badge](/badges/stephenjude-lenco-laravel-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/stephenjude-lenco-laravel-sdk/health.svg)](https://phpackages.com/packages/stephenjude-lenco-laravel-sdk)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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