PHPackages                             mdmasudsikdar71/chapa-payment-gateway-laravel - 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. mdmasudsikdar71/chapa-payment-gateway-laravel

ActiveLibrary[API Development](/categories/api)

mdmasudsikdar71/chapa-payment-gateway-laravel
=============================================

Laravel package for Chapa Payment Gateway

1.0.0(2y ago)018MITPHP

Since Feb 27Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mdmasudsikdar71/chapa-payment-gateway-laravel)[ Packagist](https://packagist.org/packages/mdmasudsikdar71/chapa-payment-gateway-laravel)[ RSS](/packages/mdmasudsikdar71-chapa-payment-gateway-laravel/feed)WikiDiscussions main Synced today

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

Chapa Laravel Package
=====================

[](#chapa-laravel-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ec9ace672011210e551534fb3c90031b8a39976de862d22558d09ec2c6ab5a68/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d646d6173756473696b64617237312f63686170612d7061796d656e742d676174657761792d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mdmasudsikdar71/chapa-payment-gateway-laravel)[![Total Downloads](https://camo.githubusercontent.com/e4320f3ebf9dce55bf1c51303474b01f577985558e7b128bb2d8e61b386c0dac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d646d6173756473696b64617237312f63686170612d7061796d656e742d676174657761792d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mdmasudsikdar71/chapa-payment-gateway-laravel)

Chapa is a Laravel package that provides a client for interacting with the Chapa API. This package simplifies the integration process for Chapa payments in your Laravel application.

Features
--------

[](#features)

- **Transaction Initialization:** Easily initialize Chapa transactions with a simple and clean API.
- **Transaction Verification:** Verify Chapa transactions to ensure their validity.
- **Customization:** Customize and configure Chapa transactions according to your needs.
- **Clear Documentation:** Well-documented codebase and API for easy integration and customization.

**more coming soon...**

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

[](#installation)

You can install the package via composer:

```
composer require mdmasudsikdar71/chapa-payment-gateway-laravel
```

Configuration
-------------

[](#configuration)

After installing the package, you need to publish the configuration file:

```
php artisan vendor:publish --tag="chapa-config"
```

Then, update the `config/chapa.php` configuration file with your Chapa secret key.

Usage
-----

[](#usage)

### Initialize a Chapa Transaction

[](#initialize-a-chapa-transaction)

```
use MDMasudSikdar\Chapa\ChapaClient;

$chapaClient = new ChapaClient();

// Prepare the request body
$requestBody = [
    'amount' => 1000,
    'currency' => 'USD',
    'email' => 'user@example.com',
    // ... other required fields
];

// Initialize the transaction
$response = $chapaClient->transactionInitialize($requestBody);

// Handle the response
// $response contains the decoded response data
```

### Verify a Chapa Transaction

[](#verify-a-chapa-transaction)

```
use MDMasudSikdar\Chapa\ChapaClient;

$chapaClient = new ChapaClient();

// Transaction reference to verify
$txRef = 'your_transaction_reference';

// Verify the transaction
$response = $chapaClient->transactionVerify($txRef);

// Handle the response
// $response contains the decoded response data
```

Security
--------

[](#security)

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

License
-------

[](#license)

The Chapa Laravel Package is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

857d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/228e65bfc2a97f423c78cc984176f48be891ab86591e16633bdfb895c228af15?d=identicon)[MDMasudSikdar71](/maintainers/MDMasudSikdar71)

---

Top Contributors

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

---

Tags

apilaravellaravel-packagepayment-gatewayphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mdmasudsikdar71-chapa-payment-gateway-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/mdmasudsikdar71-chapa-payment-gateway-laravel/health.svg)](https://phpackages.com/packages/mdmasudsikdar71-chapa-payment-gateway-laravel)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M987](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M45](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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