PHPackages                             negusnati/chapa-laravel-11x - 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. negusnati/chapa-laravel-11x

ActiveLibrary[API Development](/categories/api)

negusnati/chapa-laravel-11x
===========================

A Laravel Package to Accept Payment through Chapa

219PHP

Since Jul 4Pushed 1y agoCompare

[ Source](https://github.com/NegusNati/chapa-laravel-11x)[ Packagist](https://packagist.org/packages/negusnati/chapa-laravel-11x)[ RSS](/packages/negusnati-chapa-laravel-11x/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

 [ ![Chapa Logo](https://camo.githubusercontent.com/24a440af5b6b85bbeff296347d7cc08ace5b0caade3c41aa323f68f67e739432/68747470733a2f2f6173736574732e63686170612e636f2f6173736574732f696d616765732f63686170612d6c6f676f2e737667) ](http://chapa.co/)Official Laravel package for Chapa's API (Support for Laravel ^11)

========================================================================================================================================================================================================================================================================================================================

[](#----------official-laravel-package-for-chapas-api-support-for-laravel-11)

If your are doing a Laravel project and want to integrate Chapa's payment solution, this package would help big time.

Go to [Chapa](https://dashboard.chapa.co/) to signup and get your secret key

Composer install
----------------

[](#composer-install)

'composer require negusnati/chapa-laravel-11x'

Documentation
-------------

[](#documentation)

Please visit [Chapa](https://developer.chapa.co/docs/accept-payments/) for full documentation.

Guide
-----

[](#guide)

Please visit [Developers Guide](https://developer.chapa.co/laravel-sdk/) for full guide and examples.

### Usage

[](#usage)

You can check [this](https://github.com/Chapa-Et/sdk-examples/tree/master/chapa-laravel-example) sample Laravel code as a reference.

### Configuration

[](#configuration)

Open your .env file and add your public key, secret keys, and other environment variables like this:

```
CHAPA_SECRET_KEY=CHAPA-SECK-xxxxxxxxxxxxxxxxxxxxx-X

```

Features
--------

[](#features)

The current features have been implemented

- Initiate Payment
- Payment verification

API Reference
-------------

[](#api-reference)

### Collecting Customer Information

[](#collecting-customer-information)

```
  POST https://api.chapa.co/v1/transaction/initialize

```

ParameterTypeRequiredDescription`key``string`**Yes**.This will be your public key from Chapa. When on test mode use the test key, and when on live mode use the live key.`email``string`**No**.A customer’s email. address.`phone_number``numeric`**No**.A customer’s phone number. address.`amount``string`**Yes**.The amount you will be charging your customer.`first_name``string`**No**.A customer’s first name.`last_name``string`**No**.A customer’s last name.`tx_ref``string`**Yes**.A unique reference given to each transaction.`callback_url``string`**No**.Function that runs when payment is successful. This should ideally be a script that uses the verify endpoint on the Chapa API to check the status of the transaction.`return_url``string`**No**.A web address provided by the merchant to a payment gateway during payment integration. It serves as the destination where the payment gateway sends the customer after completing a payment transaction.`currency``string`**Yes**.The currency in which all the charges are made. Currency allowed is ETB.`customization[tiitle] ``string`**No**.The customizations field (optional) allows you to customize the look and feel of the payment modal. You can set a logo, the store name to be displayed (title), and a description for the payment..`customization[description]``string`**No**.The customizations field (optional) allows you to customize the look and feel of the payment modal.### Verify Payments

[](#verify-payments)

```
  GET https://api.chapa.dev/v1/transaction/verify/{tx-ref}

```

ParameterTypeRequiredDescription`key``string`**Yes**.This will be your public key from Chapa. When on test mode use the test key, and when on live mode use the live key.### Changelog

[](#changelog)

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

### Security

[](#security)

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

License
-------

[](#license)

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

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

 Bus Factor1

Top contributor holds 59.5% 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/91498f64e2146ea94e2bd6f92f0ec597881674ee329720b2d2fdd2a1174df49d?d=identicon)[NegusNati](/maintainers/NegusNati)

---

Top Contributors

[![isrugeek](https://avatars.githubusercontent.com/u/25211725?v=4)](https://github.com/isrugeek "isrugeek (22 commits)")[![Kidus363](https://avatars.githubusercontent.com/u/59210866?v=4)](https://github.com/Kidus363 "Kidus363 (8 commits)")[![NegusNati](https://avatars.githubusercontent.com/u/84500378?v=4)](https://github.com/NegusNati "NegusNati (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

apichapalaravelpaymentpayment-integration

### Embed Badge

![Health badge](/badges/negusnati-chapa-laravel-11x/health.svg)

```
[![Health](https://phpackages.com/badges/negusnati-chapa-laravel-11x/health.svg)](https://phpackages.com/packages/negusnati-chapa-laravel-11x)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)[pixelant/pxa-social-feed

Add Facebook, Instagram, and Twitter feeds to your site.

2349.3k](/packages/pixelant-pxa-social-feed)

PHPackages © 2026

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