kasirphp / kasir

Midtrans package for Laravel, in Laravel way.
https://kasirphp.com
MIT License
9 stars 0 forks source link
composer laravel midtrans midtrans-php payment-gateway php

Kasir Logo

Packagist Downloads Packagist PHP Version Packagist PHP Version License

Introduction

Kasir helps integrate Midtrans in Laravel way.

Installation and Usage

Please refer to the documentation.

Community and Discussions

Twitter Community Github Discussions

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

Kasir is open-sourced software licensed under the MIT license.