avraapi / php-sdk
Official PHP SDK for the APIX (AvraAPI) enterprise API gateway. Zero Laravel dependencies — works in any PHP 8.2+ project.
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.8
- guzzlehttp/promises: ^2.0
Requires (Dev)
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^11.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
AvraAPI PHP SDK
The official PHP SDK for building with AvraAPI. Connect your PHP application to trusted service providers through one consistent platform experience.
Read the documentation · SDK guidelines · Visit AvraAPI
About AvraAPI
AvraAPI gives applications one reliable way to work with essential digital services and configured providers. It keeps integration choices clear while your application stays in control of its own users, data, and business decisions.
This SDK is designed for modern PHP applications running PHP 8.2 or later. Complete setup, credential safety, service guidance, and current capabilities are maintained in the AvraAPI Documentation.
Services
| Service | Built for |
|---|---|
| Currency | Currency codes, live exchange rates, conversions, and CBSL rate information. |
| Location | IP address location details for applications that need geographic context. |
| Security | VPN, proxy, hosting, relay, and disposable-email checks. |
| SMS | Single and bulk messaging through configured SMS providers. |
| Utilities | PDF, QR code, and barcode generation. |
Each service uses the providers configured for your AvraAPI project. Review the service guidelines before enabling a service in your application.
Advanced Service: Universal Payment Gateway
The Universal Payment Gateway (UPG) brings supported payment providers into one consistent payment lifecycle. It supports provider-aware checkout experiences, payment verification, and secure completion handling while keeping sensitive payment decisions on your backend.
UPG support includes payment providers such as PayHere, MarxPay, DirectPay, OnePay, WebXPay, KOKO, PayPlus, and Stripe when they are enabled for your project.
For checkout guidance, supported capabilities, Payment Elements, and provider-specific requirements, start with the Universal Payment Gateway documentation.
Documentation and guidelines
The documentation is the source of truth for setup and integration guidance:
Developed by
Built and maintained by Fidex Developers (Pvt) Ltd for the AvraAPI platform.
License
AvraAPI PHP SDK is open-sourced under the MIT License.