PHPackages                             apichef/laravel-pay-here - 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. apichef/laravel-pay-here

ActiveLibrary[Payment Processing](/categories/payments)

apichef/laravel-pay-here
========================

Laravel PayHere provides an expressive, fluent interface to PayHere’s billing services.

4.0.1(1y ago)121.3k5[2 issues](https://github.com/apichef/laravel-pay-here/issues)MITPHPPHP ^8.0|^8.1|^8.2

Since Jul 31Pushed 1y ago1 watchersCompare

[ Source](https://github.com/apichef/laravel-pay-here)[ Packagist](https://packagist.org/packages/apichef/laravel-pay-here)[ Docs](https://github.com/apichef/laravel-pay-here)[ RSS](/packages/apichef-laravel-pay-here/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (7)Versions (47)Used By (0)

laravel-pay-here
================

[](#laravel-pay-here)

[![Latest Version on Packagist](https://camo.githubusercontent.com/17d2dc482c9fc283fc1c9e5e0bc90101946f55b644adf1bf77fc66e92bee8a1b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617069636865662f6c61726176656c2d7061792d686572652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apichef/laravel-pay-here)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://github.com/apichef/laravel-pay-here/workflows/CI/badge.svg)](https://github.com/apichef/laravel-pay-here/actions)[![Total Downloads](https://camo.githubusercontent.com/6c07839a201c56921a4f707ee4f1c253601c0a523084a4e5a868b234645c0324/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617069636865662f6c61726176656c2d7061792d686572652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/apichef/laravel-pay-here)

ApiChef PayHere provides an expressive, fluent interface to PayHere’s payment services.

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

[](#installation)

You can install the package via composer:

```
composer require apichef/laravel-pay-here
```

LaravelMinimum Versions6.x`^1.0.0`7.x`^2.0.0`8.x`^2.0.0`9.x`^3.0.0`10.x`^4.0.0`11.x`^4.0.0`You can publish the config file with:

```
php artisan vendor:publish --provider="ApiChef\PayHere\PayHereServiceProvider" --tag="config"
```

If your application accepting one time payments, you need to publish payments migration:

```
php artisan vendor:publish --provider="ApiChef\PayHere\PayHereServiceProvider" --tag="migrations:payments"
```

If your application supporting subscriptions, you need to publish subscriptions migration:

```
php artisan vendor:publish --provider="ApiChef\PayHere\PayHereServiceProvider" --tag="migrations:subscriptions"
```

Migrate

```
php artisan migrate
```

Usage
-----

[](#usage)

[Documentation](https://milroy.me/laravel-pay-here)

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on 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)

- [Milroy E. Fraser](https://github.com/milroyfraser)
- [Nimna Awantha](https://github.com/nimnaherath)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 89% 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 ~38 days

Recently: every ~305 days

Total

40

Last Release

636d ago

Major Versions

0.9.6 → 1.0.12020-12-18

v1.0.2 → v2.0.02021-04-10

v2.0.1 → 3.0.12022-02-12

3.0.1 → v4.x-dev2024-03-30

PHP version history (6 changes)0.0.1PHP ^7.4

0.5.0PHP ^7.2.5

v1.0.2PHP ^7.2.5 || ^8.0

v2.0.0PHP ^7.4 || ^8.0

3.0.1PHP ^7.4|^8.0|^8.1

v4.x-devPHP ^8.0|^8.1|^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f3ba1935044647e51c405868792beea05a76250a8f7ef408c9b706edf51fcb6?d=identicon)[milroy.me](/maintainers/milroy.me)

---

Top Contributors

[![milroyfraser](https://avatars.githubusercontent.com/u/3282475?v=4)](https://github.com/milroyfraser "milroyfraser (89 commits)")[![nimnaherath](https://avatars.githubusercontent.com/u/73551247?v=4)](https://github.com/nimnaherath "nimnaherath (9 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (2 commits)")

---

Tags

apicheflaravel-pay-here

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/apichef-laravel-pay-here/health.svg)

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

###  Alternatives

[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)[henryejemuta/laravel-monnify

A laravel package to seamlessly integrate monnify api within your laravel application

132.1k](/packages/henryejemuta-laravel-monnify)[asciisd/knet

Knet package is provides an expressive, fluent interface to KNet's payment services.

141.1k](/packages/asciisd-knet)

PHPackages © 2026

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