Open source·2026
An unofficial Laravel SDK for the PayRex payments API
An unofficial Laravel SDK for PayRex, the Philippine payments API. Typed resource methods, readonly data objects, and verified webhooks dispatched as Laravel events.
- Sector
- Developer Tools, Payments
An unofficial Laravel SDK for PayRex, a payments API for businesses in the Philippines. It covers payment intents, hosted checkout, setup intents, customers, refunds, payouts, and billing statements.
Resource methods take PayRex's documented parameters as named, typed arguments and return readonly data objects that keep the untouched payload on $raw. Non-2xx responses become typed exceptions rather than array checks.
The package registers a webhook route, verifies the signature, and dispatches each delivery as a Laravel event. Http::fake() works throughout, so an integration can be tested without a network call or a PayRex account.
Supports PHP 8.3 or 8.4 and Laravel 12 or 13. MIT licensed, with versioned documentation.
I built this for the Laravel projects I work on, and I maintain it. It is unofficial and not affiliated with PayRex. If something is missing or wrong, open an issue on GitHub or send me a message.