PHPackages                             petra\_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. petra\_laravel/sdk

ActiveLibrary[Payment Processing](/categories/payments)

petra\_laravel/sdk
==================

Laravel SDK for Petra Africa Payment Processing

03PHP

Since Jul 13Pushed 4y agoCompare

[ Source](https://github.com/PetraHQ/petra_laravel)[ Packagist](https://packagist.org/packages/petra_laravel/sdk)[ RSS](/packages/petra-laravel-sdk/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Petra Africa SDK
================

[](#petra-africa-sdk)

\[!\[Latest Version on Packagist\]( africa/petra.svg?style=flat-square)\]( africa/petra) \[!\[Total Downloads\]( africa/petra.svg?style=flat-square)\]( africa/petra) !\[GitHub Actions\]( africa/petra/actions/workflows/main.yml/badge.svg)

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

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

[](#installation)

You can install the package via composer:

```
composer require petra_laravel/sdk
```

Usage
-----

[](#usage)

```
$petra = new \PetraAfrica\Petra\Petra("secret-key");
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

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

[](#contributing)

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

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- \[Emmanuel Adebayo\]( africa)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/607f62d62fa329879b30ed585b995f6f48359032ff2a154e14beb6a430f288ae?d=identicon)[petraafrica](/maintainers/petraafrica)

---

Top Contributors

[![toluwaanimi](https://avatars.githubusercontent.com/u/42483026?v=4)](https://github.com/toluwaanimi "toluwaanimi (7 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/petra-laravel-sdk/health.svg)](https://phpackages.com/packages/petra-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)
