Kasir helps integrate Midtrans in Laravel way.
Please refer to the documentation.
If you want to contribute to Kasir package, you may want to test it in a real Laravel project:
- Fork this project to your GitHub account.
- Create Laravel app locally.
- Clone your fork in your Laravel app's root directory.
- In the
/kasir
directory, create a new branch for your fix, e.g.fix-something
. - Install the packages in your app's
composer.json
:{ "require": { "kasir/kasir": "*" }, "repositories": [ { "type": "path", "url": "kasir/*" } ] }
- Run
composer update
. - 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.
Kasir is open-sourced software licensed under the MIT license.