nylonpay-php
Paymentshttps://github.com/nile-squad/nylonpay-php
NylonPay PHP SDK
About this project
The nylonpay-php repository provides a server-side PHP SDK for integrating Nylon Pay payment operations into applications. It supports collecting payments, making payouts, managing transactions, and handling webhooks. Key features include payment lifecycle event handling, synchronous result processing, and webhook signature verification. The SDK is designed for PHP 8.1+ and requires specific extensions like curl, json, and openssl. To get started, install the package via Composer with `composer require nile-squad/nylonpay-php`. The SDK offers operations like `collectPayment`, `makePayout`, and `getStatus`, each returning a `PaymentInstance` or `Result` object for handling payment states. Configuration options include API keys, timeouts, and retry settings. The SDK also provides utilities for error handling and webhook verification. The repository includes development tools for testing and security checks, requiring PHP 8.2+ for development. Integration tests can be run against a sandbox environment using environment variables. The project is part of a multi-language SDK ecosystem and is licensed under MIT.
This is a GitHub repository (source code), not a hosted HTTP API endpoint.
From the docs
Snippets taken from the repository README when available.
composer require nile-squad/nylonpay-php