PHPackages                             laravel-payhere/laravel-payhere - 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. laravel-payhere/laravel-payhere

ActiveLibrary[Payment Processing](/categories/payments)

laravel-payhere/laravel-payhere
===============================

A Laravel plugin for PayHere payment gateway.

v3.0.5(1mo ago)18347↑375%3PHPPHP ^8.2CI failing

Since May 27Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/laravel-payhere/laravel-payhere)[ Packagist](https://packagist.org/packages/laravel-payhere/laravel-payhere)[ GitHub Sponsors](https://github.com/dasundev)[ RSS](/packages/laravel-payhere-laravel-payhere/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (38)Used By (0)

 [![PayHere](./art/logo.svg)](./art/logo.svg)

 [![Build Status](https://camo.githubusercontent.com/87961fbf6d01cc048f394cdb51e2a26ae11be9e5d2e421964d3a4476f6e0e8ec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c61726176656c2d706179686572652f6c61726176656c2d706179686572652f74657374732e796d6c3f6c6162656c3d7465737473)](https://github.com/laravel-payhere/laravel-payhere/actions) [![Total Downloads](https://camo.githubusercontent.com/5bb0ab0a5dc22b3e2a622abb9e802dd7c331f0ee1aef93cddf2e60e0312b6595/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d706179686572652f6c61726176656c2d70617968657265)](https://packagist.org/packages/laravel-payhere/laravel-payhere) [![Latest Stable Version](https://camo.githubusercontent.com/dba4ae29ef73dab923cf1b4bbce58c2347d515d978d2d567d2cfd6240f65394a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2d706179686572652f6c61726176656c2d70617968657265)](https://packagist.org/packages/laravel-payhere/laravel-payhere) [![License](https://camo.githubusercontent.com/9c0b5036bc5468b406fa3226f8e6965bd6dc8bdd834c018ec90c7e1d6acd0b68/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c61726176656c2d706179686572652f6c61726176656c2d70617968657265)](https://packagist.org/packages/laravel-payhere/laravel-payhere)

Introduction
------------

[](#introduction)

Easily and securely integrate [PayHere](https://payhere.lk) into your Laravel application.

```
// A super simple example to show how easy it is to integrate PayHere!

use PayHere\PayHere;

class CheckoutController extends Controller
{
    public function __invoke()
    {
        return PayHere::builder()
            ->title('iPhone 16 Pro')
            ->amount(329900)
            ->checkout();
    }
}
```

Official Documentation
----------------------

[](#official-documentation)

You can find the documentation [here](https://www.dasun.dev/docs/laravel-payhere).

Changelog
---------

[](#changelog)

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

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

[](#security-vulnerabilities)

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

License
-------

[](#license)

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

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance90

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Every ~20 days

Recently: every ~67 days

Total

34

Last Release

50d ago

Major Versions

v1.1.1 → v2.0.02025-06-07

v2.0.0 → v3.0.02025-06-22

PHP version history (2 changes)v1.0.0-beta.1PHP ^8.2

v1.1.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/2efb4328d694a6215df4f06e1eb93c7515308f4d904e0a8ac6ef97ad5d0dcd20?d=identicon)[dasundev](/maintainers/dasundev)

---

Top Contributors

[![dasundev](https://avatars.githubusercontent.com/u/54996800?v=4)](https://github.com/dasundev "dasundev (641 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")

---

Tags

laravelpayherelkphpplugin

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[lemonsqueezy/laravel

A package to easily integrate your Laravel application with Lemon Squeezy.

58596.1k](/packages/lemonsqueezy-laravel)[wandesnet/mercadopago-laravel

PHP SDK for integration with Mercado Pago

252.4k](/packages/wandesnet-mercadopago-laravel)[danestves/laravel-polar

A package to easily integrate your Laravel application with Polar.sh

7812.3k](/packages/danestves-laravel-polar)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

322.8k](/packages/duncanmcclean-statamic-cargo)[tsaiyihua/laravel-linepay

linepay library for laravel

102.9k](/packages/tsaiyihua-laravel-linepay)

PHPackages © 2026

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