PHPackages                             kasir/kasir - 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. kasir/kasir

ActiveLibrary[API Development](/categories/api)

kasir/kasir
===========

Kasir helps integrating Midtrans in Laravel way.

v2.0.1(2y ago)988MITPHPPHP ^8.0.2|^8.1CI failing

Since Jan 17Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/kasirphp/kasir)[ Packagist](https://packagist.org/packages/kasir/kasir)[ GitHub Sponsors](https://github.com/sponsors/risangbaskoro)[ RSS](/packages/kasir-kasir/feed)WikiDiscussions v3.x Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (23)Used By (0)

 [![Kasir Logo](art/svg/logo-wordmark-side.svg)](art/svg/logo-wordmark-side.svg)

 [![Packagist Downloads](https://camo.githubusercontent.com/6c155e97d416d743cd358e75f9322e48f2610a8942a510ce0f8b2c6e95475d47/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b617369722f6b61736972)](https://packagist.org/packages/kasir/kasir) [![License](https://camo.githubusercontent.com/4a54dec1cac0e87124d95cb4f525f878faeaee012ae674b5f3bc8da16c3a0792/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6b617369722f6b61736972)](https://packagist.org/packages/kasir/kasir)

 [![](https://github.com/kasirphp/kasir/actions/workflows/tests.yml/badge.svg)](https://github.com/kasirphp/kasir/actions/workflows/tests.yml)

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

[](#introduction)

Kasir helps integrate Midtrans in Laravel way.

Installation and Usage
----------------------

[](#installation-and-usage)

Please refer to the [documentation](https://kasirphp.com).

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

[](#contributing)

If you want to contribute to Kasir package, you may want to test it in a real Laravel project:

1. Fork this project to your GitHub account.
2. Create Laravel app locally.
3. Clone **your fork** in your Laravel app's root directory.
4. In the `/kasir` directory, create a new branch for your fix, e.g. `fix-something`.
5. Install the packages in your app's `composer.json`: ```
    {
        "require": {
            "kasir/kasir": "*"
        },
        "repositories": [
            {
                "type": "path",
                "url": "kasir/*"
            }
        ]
    }
    ```
6. Run `composer update`.
7. When creating a Pull Request, make sure you have set your MIDTRANS\_SERVER\_KEY\_SANDBOX and MIDTRANS\_CLIENT\_KEY\_SANDBOX in your GitHub secrets for testing.

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 98.1% 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 ~41 days

Recently: every ~210 days

Total

22

Last Release

340d ago

Major Versions

v0.3.0-alpha1 → v1.0.02023-02-05

v1.x-dev → v2.0.0-alpha.12023-02-22

v2.x-dev → v3.0.0-rc.12025-06-12

PHP version history (2 changes)v0.1.0PHP ^8.0.2|^8.1

v3.0.0-rc.1PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ca080ab5f3c2ad5c17a21f39e6b0f1e34fb501122f1b959469b2f0cfbf711f3?d=identicon)[risangbaskoro](/maintainers/risangbaskoro)

---

Top Contributors

[![risangbaskoro](https://avatars.githubusercontent.com/u/36572342?v=4)](https://github.com/risangbaskoro "risangbaskoro (212 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")

---

Tags

composerlaravelmidtransmidtrans-phppayment-gatewayphp

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[simplestats-io/laravel-client

Client for SimpleStats!

4515.5k](/packages/simplestats-io-laravel-client)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

208.8k](/packages/njoguamos-laravel-plausible)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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