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.9(1w ago)18625↑277.8%3PHPPHP ^8.2CI failing

Since May 27Pushed 2w 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 today

READMEChangelog (10)Dependencies (28)Versions (47)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

54

—

FairBetter than 96% of packages

Maintenance97

Actively maintained with recent releases

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 97.6% 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

Total

38

Last Release

12d 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://avatars.githubusercontent.com/u/54996800?v=4)[Dasun Tharanga](/maintainers/dasundev)[@dasundev](https://github.com/dasundev)

---

Top Contributors

[![dasundev](https://avatars.githubusercontent.com/u/54996800?v=4)](https://github.com/dasundev "dasundev (647 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (16 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

[binaryk/laravel-restify

Laravel REST API helpers

677415.0k](/packages/binaryk-laravel-restify)[duncanmcclean/statamic-cargo

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

3417.0k](/packages/duncanmcclean-statamic-cargo)[codebar-ag/laravel-docuware

DocuWare integration with Laravel

1123.7k](/packages/codebar-ag-laravel-docuware)[slimani/filament-media-manager

A media manager plugin for Filament.

126.9k](/packages/slimani-filament-media-manager)[wandesnet/mercadopago-laravel

PHP SDK for integration with Mercado Pago

253.0k](/packages/wandesnet-mercadopago-laravel)

PHPackages © 2026

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