Download the PHP package andisiahaan/tripay-php without Composer
On this page you can find all versions of the php package andisiahaan/tripay-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download andisiahaan/tripay-php
More information about andisiahaan/tripay-php
Files in andisiahaan/tripay-php
Package tripay-php
Short Description Unofficial Tripay.co.id PHP SDK
License MIT
Homepage https://github.com/andisiahaan/tripay-php
Informations about the package tripay-php
tripay-php
Unofficial PHP SDK for the Tripay.co.id API.
This package provides a small, focused wrapper around Tripay endpoints using Guzzle and PSR-4 autoloading. It's suitable for small projects and internal tools. Use at your own discretion — this is an unofficial client.
Package namespace: AndiSiahaan\\Tripay
Installation
Install via Composer:
Or include as a repository and require it in your composer.json
during development.
Quick usage
For transaction creation and Open Payment, consult the examples in examples/
for full payloads.
Running tests
Debugging
The client collects last request/response debug information via Guzzle on_stats
. Use $client->getDebugs()
after a request to inspect the raw HTTP request and response for troubleshooting.
Contributing
Contributions are welcome. Please open issues or pull requests on GitHub. Keep changes small and include tests where appropriate.
License
MIT — see LICENSE
.
Links
- GitHub: https://github.com/andisiahaan/tripay-php
- Packagist: (will be available after you publish)
Examples
See the examples/
folder for runnable examples. Set these environment variables before running (PowerShell):