Download the PHP package sevaske/payfort-api without Composer
On this page you can find all versions of the php package sevaske/payfort-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package payfort-api
Payfort API PHP Client
A simple and extensible PSR-18 compatible PHP client for working with Amazon Payment Services (Payfort).
Note:
- This version is currently in beta. Use at your own risk.
- This package requires a PSR-18 compatible HTTP client and PSR-17 factories. For example, you can use Guzzle:
Features
- PSR-18 HTTP client support
- PSR-7 request/response
- Signature verification
- Custom command support
- Exception handling with context
- Easily debug request/response payloads
Requirements
- PHP ^8.1
- PSR-18 HTTP client (psr/http-client)
- PSR-7 HTTP messages (psr/http-message)
- PSR-17 HTTP factories (optional, if required by your HTTP client)
Installation
Install via Composer:
Usage
Available API methods
The following methods are available for use:
Debugging with callback
Custom command request
Error handling
Future functionality
In the future, you will be able to handle redirection requests:
๐งช Testing
๐ Changelog
See CHANGELOG.md for recent changes.
โ License
MIT. See LICENSE for details.
All versions of payfort-api with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
ext-json Version *
psr/http-message Version ^1.0||^2.0
psr/http-client Version ^1.0
ext-json Version *
psr/http-message Version ^1.0||^2.0
psr/http-client Version ^1.0
The package sevaske/payfort-api contains the following files
Loading the files please wait ...