payrudder / payrudder-php
PHP SDK for the Payrudder usage-based billing API (tenant API and webhook verification).
Requires
- php: >=8.1
- ext-json: *
Requires (Dev)
None
Suggests
- ext-curl: Used by the built-in transport
- php-http/discovery: To find a PSR-18 client and PSR-17 factories automatically
- psr/http-client: To send requests through your own PSR-18 client
- psr/http-factory: To send requests through your own PSR-18 client
Provides
None
Conflicts
None
Replaces
None
README
Official client libraries for the Payrudder API: send usage events, manage customers, subscriptions and invoices, and verify webhook deliveries.
| Language | Directory | Package |
|---|---|---|
| Go | go |
github.com/nafrucom/payrudder-sdks/go |
| TypeScript / JavaScript | typescript |
@payrudder/sdk |
| Python | python |
payrudder |
| PHP | php |
payrudder/payrudder-php |
All four are generated from the same OpenAPI description, share one version number and follow the same design: one method per API operation, typed models, automatic pagination, retries with idempotency keys, and webhook signature verification. Each directory has its own README, changelog and examples/.
Install
go get github.com/nafrucom/payrudder-sdks/go npm install @payrudder/sdk pip install payrudder composer require payrudder/payrudder-php
Contributing
This repository is a read-only mirror: the SDKs are developed together with the Payrudder API and every change arrives here from there. Please report bugs and requests as issues; pull requests cannot be merged directly, but a fix described in an issue is welcome.