PHPackages                             stonedleaf/paymaya-checkout-laraplate - 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. stonedleaf/paymaya-checkout-laraplate

ActiveLibrary[Payment Processing](/categories/payments)

stonedleaf/paymaya-checkout-laraplate
=====================================

Basic laravel boiler plate for consuming Paymaya checkout APIs

v0.2(4y ago)014MITPHPPHP ^7.2|^8.0

Since Jul 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/stonedleaf/paymaya-checkout-laraplate)[ Packagist](https://packagist.org/packages/stonedleaf/paymaya-checkout-laraplate)[ RSS](/packages/stonedleaf-paymaya-checkout-laraplate/feed)WikiDiscussions main Synced yesterday

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

Paymaya Checkout Laraplate
==========================

[](#paymaya-checkout-laraplate)

[![Packagist version](https://camo.githubusercontent.com/960550984771e4d9ea91e6aa36eb48768a4d1f4951a739329f9afc584d796749/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73746f6e65646c6561662f7061796d6179612d636865636b6f75742d6c617261706c617465)](https://camo.githubusercontent.com/960550984771e4d9ea91e6aa36eb48768a4d1f4951a739329f9afc584d796749/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73746f6e65646c6561662f7061796d6179612d636865636b6f75742d6c617261706c617465) [![License](https://camo.githubusercontent.com/52f7bfeadecdb699e30d7b7c94f0e2c005214090cda177bf726260091c1b3e53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73746f6e65646c6561662f7061796d6179612d636865636b6f75742d6c617261706c617465)](https://camo.githubusercontent.com/52f7bfeadecdb699e30d7b7c94f0e2c005214090cda177bf726260091c1b3e53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f73746f6e65646c6561662f7061796d6179612d636865636b6f75742d6c617261706c617465) [![enter image description here](https://camo.githubusercontent.com/f2c2ddf21130af056c1f0c9bf4916f84ac8ba426212d9c1e3c27442cc0ca4b17/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746f6e65646c6561662f7061796d6179612d636865636b6f75742d6c617261706c617465)](https://camo.githubusercontent.com/f2c2ddf21130af056c1f0c9bf4916f84ac8ba426212d9c1e3c27442cc0ca4b17/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746f6e65646c6561662f7061796d6179612d636865636b6f75742d6c617261706c617465)

Basic starter kit for consuming PayMaya checkout APIs in Laravel

Includes:

- Basic implementation of PayMaya checkout APIs
- Saving transaction data to database received from webhook
- Uses moneyphp/money for handling amounts

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

[](#installation)

Install using composer

```
composer require stonedleaf/paymaya-checkout-laraplate
```

Publish the files

```
php artisan vendor:publish --provider=Stonedleaf\PaymayaCheckoutLaraplate\PaymayaServiceProvider
```

To register the webhooks, run the following command (Note: this will remove existing webhooks)

```
php artisan paymaya:webhook
```

To delete all paymaya API settings (Webhook and Shop Customizations), run the following command

```
php artisan paymaya:clear
```

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

[](#configuration)

**Configuration File**

Kindly check `config/paymaya.php`

**Overriding Transaction Model**

To use your own transaction model, inform your new transaction model in your application's `App\Providers\AppServiceProvider` class using the following code as reference

```
use App\Models\PayMaya\Transaction;

public function boot()
{
  Paymaya::useTransactionModel(Transaction::class);
}
```

**Overriding Migrations**

If you would like to prevent the default migrations from running, you may use `ignoreMigrations`. Usually this should be called in the `register` method of your `AppServiceProvider`

```
use Stonedleaf\PaymayaCheckoutLaraplate\Paymaya;

public function register()
{
  Paymaya::ignoreMigrations();
}
```

Afterwards, you may use your own migrations. Make sure you replaced the transaction model above

**Overriding Routes**

If you would like to prevent the default routes from running, you may use `ignoreMigrations`. Usually this should be called in the `register` method of your `AppServiceProvider`

```
use Stonedleaf\PaymayaCheckoutLaraplate\Paymaya;

public function register()
{
  Paymaya::ignoreRoutes();
}
```

Afterwards, make sure you point the `webhook_routes` setting in `config/paymaya.php` to the correct routes.

For webhook controller reference, you may check `Stonedleaf\PaymayaCheckoutLaraplate\Http\Controllers\WebhookController.php`

Examples
--------

[](#examples)

&lt; under construction &gt;

For API, you may checkout `Stonedleaf\PaymayaCheckoutLaraplate\CheckoutBuilder.php`

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Every ~1 days

Total

2

Last Release

1747d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ecd9c5821c6302dd03a286e94e006087696f0ff28929d2f8c0e29c63f2474647?d=identicon)[stonedleaf](/maintainers/stonedleaf)

---

Top Contributors

[![stonedleaf](https://avatars.githubusercontent.com/u/87636988?v=4)](https://github.com/stonedleaf "stonedleaf (2 commits)")

---

Tags

laravelcheckoutpaymaya

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stonedleaf-paymaya-checkout-laraplate/health.svg)

```
[![Health](https://phpackages.com/badges/stonedleaf-paymaya-checkout-laraplate/health.svg)](https://phpackages.com/packages/stonedleaf-paymaya-checkout-laraplate)
```

###  Alternatives

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M107](/packages/laravel-cashier)[laravel/cashier-paddle

Cashier Paddle provides an expressive, fluent interface to Paddle's subscription billing services.

264778.4k3](/packages/laravel-cashier-paddle)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[lemonsqueezy/laravel

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

58596.1k](/packages/lemonsqueezy-laravel)[flat3/lodata

OData v4.01 Producer for Laravel

96320.9k](/packages/flat3-lodata)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)

PHPackages © 2026

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