Download the PHP package fayda/fayda-php-sdk without Composer
On this page you can find all versions of the php package fayda/fayda-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fayda/fayda-php-sdk
More information about fayda/fayda-php-sdk
Files in fayda/fayda-php-sdk
Download fayda/fayda-php-sdk
More information about fayda/fayda-php-sdk
Files in fayda/fayda-php-sdk
Vendor fayda
Package fayda-php-sdk
Short Description PHP SDK for Fayda API
License MIT
Homepage https://github.com/Fayda-Community/fayda-php-sdk
Package fayda-php-sdk
Short Description PHP SDK for Fayda API
License MIT
Homepage https://github.com/Fayda-Community/fayda-php-sdk
Please rate this library. Is it a good library?
Informations about the package fayda-php-sdk
PHP SDK - Fayda Platform
❗This repository is work in progress. It is not ready yet and may change a lot.
Read the official specification
document Fayda Platform API Specification. In order to receive the latest change notifications, please
Watch
this repository.
Requirements
Dependency | Requirement |
---|---|
PHP | >=7.1 <8.2 Recommend PHP8+ |
guzzlehttp/guzzle | ^6.0 | ^7.0 |
firebase/php-jwt | ^5.5 |
Install
Install package via Composer.
Usage
Choose environment
Environment | BaseUri |
---|---|
Production | https://prod.fayda.et |
Development | https://auth-api.fayda.et (DEFAULT) |
Debug mode & logging
Examples
See the examples folder for more.
Example API - OTP Request Service
Using Docker
Set up docker environment.
cp .env.example .env
- edit
.env
file with your credentials. docker-compose up -d
Run the examples inside docker. See the output on console to verify the results.
Request OTP and do kyc
docker-compose exec fayda php ./examples/Example.php
Run tests
Modify your API key in
phpunit.xml
first.
License
MIT
All versions of fayda-php-sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
ext-json Version *
ext-openssl Version *
guzzlehttp/guzzle Version ^6.0|^7.0
monolog/monolog Version ~1.0|~2.0|^3.0
firebase/php-jwt Version ^5.5
ext-json Version *
ext-openssl Version *
guzzlehttp/guzzle Version ^6.0|^7.0
monolog/monolog Version ~1.0|~2.0|^3.0
firebase/php-jwt Version ^5.5
The package fayda/fayda-php-sdk contains the following files
Loading the files please wait ....